diff options
author | Reuben Thomas <rrt@sc3d.org> | 2007-12-15 16:39:41 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2007-12-15 16:39:41 +0000 |
commit | 03a6f417bd4407c9cb94b70863824c7042cb2ab4 (patch) | |
tree | e83387374559193403ab4f6757908501033302e9 /etc/psion.in | |
parent | 6ec22dd2d51f3005d93209a4b55de6f357cdcc20 (diff) | |
download | plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.tar.gz plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.tar.bz2 plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.zip |
Add untested plpfuse support to startup scripts.
Diffstat (limited to 'etc/psion.in')
-rwxr-xr-x | etc/psion.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/etc/psion.in b/etc/psion.in index 57a5c57..d19378c 100755 --- a/etc/psion.in +++ b/etc/psion.in @@ -9,6 +9,7 @@ . /etc/rc.d/init.d/functions [ -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 @@ -22,6 +23,14 @@ start() { RETVAL=$? echo fi + if [ $RETVAL -eq 0 ] ; then + if test "$START_PLPFUSE" = "yes" ; then + echo -n " plpfuse: " + daemon @prefix@/sbin/plpfuse $PLPFUSE_ARGS + RETVAL=$? + echo + fi + fi if [ $RETVAL -eq 0 ] ; then if test "$START_PLPPRINTD" = "yes" ; then echo -n " plpprintd: " @@ -42,6 +51,11 @@ stop() { killproc plpprintd echo fi + if test "$START_PLPFUSE" = "yes" ; then + echo -n " plpfuse: " + fusermount -u /mnt/psion + echo + fi if test "$START_NCPD" = "yes" ; then echo -n " ncpd: " killproc ncpd |