gpm: add init script, give sample flags working on lemote