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 | |
parent | 6ec22dd2d51f3005d93209a4b55de6f357cdcc20 (diff) | |
download | plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.tar.gz plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.tar.bz2 plptools-03a6f417bd4407c9cb94b70863824c7042cb2ab4.zip |
Add untested plpfuse support to startup scripts.
-rwxr-xr-x | etc/psion.SuSE.in | 11 | ||||
-rwxr-xr-x | etc/psion.in | 14 | ||||
-rw-r--r-- | po/de.po | 21 | ||||
-rw-r--r-- | po/sv.po | 21 |
4 files changed, 45 insertions, 22 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 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 @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: plptools 0.11\n" "Report-Msgid-Bugs-To: plptools-developers@lists.sourceforge.net\n" -"POT-Creation-Date: 2007-12-15 14:54+0000\n" +"POT-Creation-Date: 2007-12-15 16:33+0000\n" "PO-Revision-Date: 2002-07-16 21:39 CET\n" "Last-Translator: Fritz Elfert <felfert@to.com>\n" "Language-Team: Deutsch <de@li.org>\n" @@ -1511,15 +1511,14 @@ msgstr "EPOC" msgid "" "Usage: plpfuse [OPTION...] MOUNTPOINT\n" "\n" -"Supported options:\n" +"plpfuse options:\n" "\n" -" -u, --user=USER Specify USER who owns mounted dir\n" -" -d, --debug Increase debugging\n" -" -h, --help Display this text\n" -" -V, --version Print version and exit\n" -" -p, --port=[HOST:]PORT Connect to port PORT on host HOST\n" -" Default for HOST is 127.0.0.1\n" -" Default for PORT is " +" -d, --debug Increase debugging level\n" +" -h, --help Display this text\n" +" -V, --version Print version and exit\n" +" -p, --port=[HOST:]PORT Connect to port PORT on host HOST\n" +" Default for HOST is 127.0.0.1\n" +" Default for PORT is " msgstr "" "Anwendung: plpnfsd [OPTIONEN]...\n" "\n" @@ -1535,12 +1534,12 @@ msgstr "" " Vorgabe für HOST ist 127.0.0.1\n" " Vorgabe für PORT ist " -#: plpfuse/main.cc:355 +#: plpfuse/main.cc:358 #, fuzzy msgid "plpfuse version " msgstr "ncpd Version " -#: plpfuse/main.cc:374 plpfuse/main.cc:379 +#: plpfuse/main.cc:377 plpfuse/main.cc:382 #, fuzzy msgid "plpfuse: could not connect to ncpd" msgstr "plpftp: Konnte ncpd nicht kontaktieren." @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: plptools 0.11\n" "Report-Msgid-Bugs-To: plptools-developers@lists.sourceforge.net\n" -"POT-Creation-Date: 2007-12-15 14:54+0000\n" +"POT-Creation-Date: 2007-12-15 16:33+0000\n" "PO-Revision-Date: 2002-07-11 09:10+0200\n" "Last-Translator: Daniel Brahneborg <basic@chello.se>\n" "Language-Team: SWEDISH <SE@li.org>\n" @@ -1486,15 +1486,14 @@ msgstr "" msgid "" "Usage: plpfuse [OPTION...] MOUNTPOINT\n" "\n" -"Supported options:\n" +"plpfuse options:\n" "\n" -" -u, --user=USER Specify USER who owns mounted dir\n" -" -d, --debug Increase debugging\n" -" -h, --help Display this text\n" -" -V, --version Print version and exit\n" -" -p, --port=[HOST:]PORT Connect to port PORT on host HOST\n" -" Default for HOST is 127.0.0.1\n" -" Default for PORT is " +" -d, --debug Increase debugging level\n" +" -h, --help Display this text\n" +" -V, --version Print version and exit\n" +" -p, --port=[HOST:]PORT Connect to port PORT on host HOST\n" +" Default for HOST is 127.0.0.1\n" +" Default for PORT is " msgstr "" "Användning: plpftp [OPTIONER]... [FTPKOMMANDO]\n" "\n" @@ -1511,11 +1510,11 @@ msgstr "" " Om inget är angivet är VÄRD 127.0.0.1\n" " och PORT är " -#: plpfuse/main.cc:355 +#: plpfuse/main.cc:358 msgid "plpfuse version " msgstr "" -#: plpfuse/main.cc:374 plpfuse/main.cc:379 +#: plpfuse/main.cc:377 plpfuse/main.cc:382 #, fuzzy msgid "plpfuse: could not connect to ncpd" msgstr "plpftp: kunde inte få kontakt med ncpd" |