aboutsummaryrefslogtreecommitdiffstats
path: root/etc/psion.SuSE.in
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2007-12-15 16:39:41 +0000
committerReuben Thomas <rrt@sc3d.org>2007-12-15 16:39:41 +0000
commit03a6f417bd4407c9cb94b70863824c7042cb2ab4 (patch)
treee83387374559193403ab4f6757908501033302e9 /etc/psion.SuSE.in
parent6ec22dd2d51f3005d93209a4b55de6f357cdcc20 (diff)
downloadplptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.tar.gz
plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.tar.bz2
plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.zip
Add untested plpfuse support to startup scripts.
Diffstat (limited to 'etc/psion.SuSE.in')
-rwxr-xr-xetc/psion.SuSE.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/psion.SuSE.in b/etc/psion.SuSE.in
index c41e9ab..b39846e 100755
--- a/etc/psion.SuSE.in
+++ b/etc/psion.SuSE.in
@@ -13,6 +13,7 @@
. /etc/rc.status
[ -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
@@ -26,6 +27,11 @@ start() {
startproc -f @prefix@/sbin/ncpd $NCPD_ARGS
rc_status -v
fi
+ if test "$START_PLPFUSE" = "yes" ; then
+ echo -n " plpfuse: "
+ startproc -f @prefix@/sbin/plpfuse $PLPFUSE_ARGS
+ rc_status -v
+ fi
if [ "$START_PLPPRINTD" = "yes" ] ; then
echo -n " plpprintd: "
startproc -f @prefix@/sbin/plpprintd $PLPPRINTD_ARGS
@@ -41,6 +47,11 @@ stop() {
killproc -TERM @prefix@/sbin/plpprintd
rc_status -v
fi
+ if [ "$START_PLPFUSE" = "yes" ] ; then
+ echo -n " plpfuse: "
+ fusermount -u /mnt/psion
+ rc_status -v
+ fi
if [ "$START_NCPD" = "yes" ] ; then
echo -n " ncpd: "
killproc -TERM @prefix@/sbin/ncpd