hush/examples/var_service/gpm/run
Denys Vlasenko f5c2f72917 add more service examples
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2009-11-08 00:55:39 +01:00

16 lines
214 B
Bash
Executable File

#!/bin/sh
exec >/dev/null
exec 2>&1
exec </dev/null
user=root
options="-D -2 -m /dev/psaux -t ps2"
#options="-D -2 -m /dev/ttyS0 -t bare"
exec \
env - PATH="$PATH" \
softlimit \
setuidgid "$user" \
gpm $options