diff options
author | Fritz Elfert <felfert@to.com> | 2001-01-11 12:14:46 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2001-01-11 12:14:46 +0000 |
commit | bcc7cd29d318af6c13b14ddcf708c7b3304d2b2b (patch) | |
tree | 768add5d526e9280d55e4ed1e97ff4a3c89e2e1a /etc | |
parent | dadaddc3505230abe87c8f151b1e1a35f856e87b (diff) | |
download | plptools-bcc7cd29d318af6c13b14ddcf708c7b3304d2b2b.tar.gz plptools-bcc7cd29d318af6c13b14ddcf708c7b3304d2b2b.tar.bz2 plptools-bcc7cd29d318af6c13b14ddcf708c7b3304d2b2b.zip |
fixed rc script.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/psion.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/psion.in b/etc/psion.in index 8985d40..5549846 100755 --- a/etc/psion.in +++ b/etc/psion.in @@ -21,6 +21,7 @@ case "$1" in start) if $MGETTY_HASPLP ; then echo "NOT Starting ncpd because mgetty configured for PLP" + exit 0 fi echo -n "Starting Psion support: " daemon @prefix@/sbin/ncpd @@ -30,8 +31,9 @@ case "$1" in ;; stop) echo -n "Shutting down Psion support: " - killproc plpnfsd -HUP - sleep 10 # allow plpnfsd flushing it's cache + if [ killproc plpnfsd -HUP ] ; then + sleep 10 # allow plpnfsd flushing it's cache + fi killproc ncpd echo rm -f /var/lock/subsys/psion |