diff options
author | Reuben Thomas <rrt@sc3d.org> | 2008-02-16 17:14:33 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2008-02-16 17:14:33 +0000 |
commit | d4c889ede16205304ba7b819b0b894af27237075 (patch) | |
tree | f32e24b490e7ae262bb65f039e40f1034fe4a040 /etc/psion.SuSE.in | |
parent | 3c3a85c2202ae6531963736bde24937ab99a4bb8 (diff) | |
download | plptools-d4c889ede16205304ba7b819b0b894af27237075.tar.gz plptools-d4c889ede16205304ba7b819b0b894af27237075.tar.bz2 plptools-d4c889ede16205304ba7b819b0b894af27237075.zip |
Bump version to 0.21.
Remove SuSE init script and plptools.spec, as they're way out of date.
Keep generic init script so we have *something* to show; rename it to
"plptools".
Remove unused PSIONHOSTNAME define from config.h.
Change some occurrences of "Psion" to "EPOC" in configure.ac.
Diffstat (limited to 'etc/psion.SuSE.in')
-rwxr-xr-x | etc/psion.SuSE.in | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/etc/psion.SuSE.in b/etc/psion.SuSE.in deleted file mode 100755 index b39846e..0000000 --- a/etc/psion.SuSE.in +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/sh -# -### BEGIN INIT INFO -# Provides: psion -# Required-Start: $syslog -# Required-Stop: -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 -# Description: Start Psion support -### END INIT INFO - -# Source function library. -. /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 - -rc_reset - -start() { - echo "Starting Psion support ..." - if [ "$START_NCPD" = "yes" ] ; then - echo -n " ncpd: " - 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 - rc_status -v - fi - rc_status && touch /var/lock/subsys/psion -} - -stop() { - echo "Stopping Psion support ..." - if [ "$START_PLPPRINTD" = "yes" ] ; then - echo -n " plpprintd: " - 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 - rc_status -v - fi - rc_status && rm -f /var/lock/subsys/psion -} - -restart() { - stop - start -} - -# See how we were called. -case "$1" in - start) - start - ;; - stop) - stop - ;; - status) - echo -n "Checking for service psion: " - checkproc @prefix@/sbin/plpprintd && \ - checkproc @prefix@/sbin/ncpd - rc_status -v - ;; - restart|reload) - restart - ;; - condrestart) - test -f /var/lock/subsys/psion && restart || : - ;; - *) - echo "Usage: psion {start|stop|status|restart|reload|condrestart}" - exit 1 -esac - -rc_exit |