diff options
author | Reuben Thomas <rrt@sc3d.org> | 2008-02-16 17:43:12 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2008-02-16 17:43:12 +0000 |
commit | 6a1bc6abcb370c2238a1f0f878cdaec9dda18b2b (patch) | |
tree | b2cb6542e69b3c11fd3d6901ff9f606d9f577917 /etc/plptools.in | |
parent | 0e5f844359992a2f0272aeb258a2ffb329758892 (diff) | |
download | plptools-6a1bc6abcb370c2238a1f0f878cdaec9dda18b2b.tar.gz plptools-6a1bc6abcb370c2238a1f0f878cdaec9dda18b2b.tar.bz2 plptools-6a1bc6abcb370c2238a1f0f878cdaec9dda18b2b.zip |
Change /mnt/psion to /mnt/epoc.
Change "Psion" to "EPOC" and similar in psidump.
Remove useless cross-reference section from psidump.1.
Diffstat (limited to 'etc/plptools.in')
-rwxr-xr-x | etc/plptools.in | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/etc/plptools.in b/etc/plptools.in index d19378c..e0a1084 100755 --- a/etc/plptools.in +++ b/etc/plptools.in @@ -1,9 +1,9 @@ #!/bin/sh # -# psion Starts ncpd/plpfuse. +# plptools Starts ncpd/plpfuse. # # chkconfig: 2345 45 10 -# description: This facility enables connectivity to a Psion series 5. +# description: This facility enables connectivity to an EPOC PDA. # Source function library. . /etc/rc.d/init.d/functions @@ -11,11 +11,11 @@ [ -f @prefix@/sbin/ncpd ] || exit 0 [ -f @prefix@/sbin/plpfuse ] || exit 0 [ -f @prefix@/sbin/plpprintd ] || exit 0 -[ -f /etc/sysconfig/psion ] || exit 0 -. /etc/sysconfig/psion +[ -f /etc/sysconfig/plptools ] || exit 0 +. /etc/sysconfig/plptools start() { - echo "Starting Psion support ..." + echo "Starting EPOC support ..." RETVAL=0 if test "$START_NCPD" = "yes" ; then echo -n " ncpd: " @@ -39,12 +39,12 @@ start() { echo fi fi - [ $RETVAL -eq 0 ] && touch /var/lock/subsys/psion + [ $RETVAL -eq 0 ] && touch /var/lock/subsys/plptools return $RETVAL } stop() { - echo "Stopping Psion support ..." + echo "Stopping EPOC support ..." RETVAL=0 if test "$START_PLPPRINTD" = "yes" ; then echo -n " plpprintd: " @@ -53,7 +53,7 @@ stop() { fi if test "$START_PLPFUSE" = "yes" ; then echo -n " plpfuse: " - fusermount -u /mnt/psion + fusermount -u /mnt/epoc echo fi if test "$START_NCPD" = "yes" ; then @@ -62,7 +62,7 @@ stop() { RETVAL=$? echo fi - [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/psion + [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/plptools return $RETVAL } @@ -87,10 +87,10 @@ case "$1" in restart ;; condrestart) - test -f /var/lock/subsys/psion && restart || : + test -f /var/lock/subsys/plptools && restart || : ;; *) - echo "Usage: psion {start|stop|status|restart|reload|condrestart}" + echo "Usage: plptools {start|stop|status|restart|reload|condrestart}" exit 1 esac |