diff options
author | Raymond Danks <raymond@edanks.com> | 2006-05-31 22:36:33 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-05-31 22:36:33 +0000 |
commit | 9f34b9a269d69ae50920ae52cd32add61899cc62 (patch) | |
tree | 45e0876ab2bfc84ed5c34844030169ca0496df2d | |
parent | c5ec929cf0840e3078a5b2c82ca0af515dea3e3b (diff) |
gpm - Init script cleanup.
-rw-r--r-- | packages/gpm/gpm-1.20.1/init | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/gpm/gpm-1.20.1/init b/packages/gpm/gpm-1.20.1/init index bb6e4a3f55..f90fce9fc0 100644 --- a/packages/gpm/gpm-1.20.1/init +++ b/packages/gpm/gpm-1.20.1/init @@ -1,12 +1,12 @@ -#! /bin/sh i-e +#! /bin/sh # Grab the common functions -. /etc/init.d/functions +#. /etc/init.d/functions # FIXME: # Add a configuration file for GPM here -test -x /bin/gpm || exit 0 +test -x /usr/sbin/gpm || exit 0 case "$1" in start) @@ -14,10 +14,12 @@ case "$1" in mkfifo /dev/gpmdata fi - action "Starting GPM:" start-stop-daemon -S -x /bin/gpm -- -R -m /dev/mouse -t imps2 + echo "Starting GPM:" + start-stop-daemon -S -x /usr/sbin/gpm -- -R -m /dev/psaux -t ps2 ;; stop) - action "Stopping GPM:" start-stop-daemon -K -x /bin/gpm + echo "Stopping GPM:" + start-stop-daemon -K -x /usr/sbin/gpm ;; restart|force-reload) $0 stop |