1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/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