Denys Vlasenko | f5c2f72 | 2009-11-08 00:55:39 +0100 | [diff] [blame^] | 1 | #!/bin/sh |
2 | |||||
3 | exec >/dev/null | ||||
4 | exec 2>&1 | ||||
5 | exec </dev/null | ||||
6 | |||||
7 | user=root | ||||
8 | options="-D -2 -m /dev/psaux -t ps2" | ||||
9 | #options="-D -2 -m /dev/ttyS0 -t bare" | ||||
10 | |||||
11 | exec \ | ||||
12 | env - PATH="$PATH" \ | ||||
13 | softlimit \ | ||||
14 | setuidgid "$user" \ | ||||
15 | gpm $options |