comparison debian/init @ 337:1aa1ed030464 noffle

[svn] cleanup bugfix
author godisch
date Tue, 04 Mar 2003 20:40:26 +0000
parents 08222dbe6eb0
children 8f8db12ae359
comparison
equal deleted inserted replaced
336:2893746f56b8 337:1aa1ed030464
1 #!/bin/sh 1 #!/bin/sh
2 # $Id: init 470 2003-03-01 17:40:38Z godisch $ 2 # $Id: init 473 2003-03-04 20:40:26Z godisch $
3 3
4 PATH=/bin:/usr/bin:/sbin:/usr/sbin 4 PATH=/bin:/usr/bin:/sbin:/usr/sbin
5 5
6 NOFFLE=/usr/bin/noffle 6 NOFFLE=/usr/bin/noffle
7 if [ -x /usr/sbin/pppd ]; then 7 if [ -x /usr/sbin/pppd ]; then
21 $NOFFLE --$1 21 $NOFFLE --$1
22 ;; 22 ;;
23 start) 23 start)
24 echo "Initializing offline news server: noffle." 24 echo "Initializing offline news server: noffle."
25 if [ "$NOFFLE_FETCHMODE" = ppp ]; then 25 if [ "$NOFFLE_FETCHMODE" = ppp ]; then
26 $NOFFLE --offline;; 26 $NOFFLE --offline
27 else 27 else
28 $NOFFLE --online;; 28 $NOFFLE --online
29 fi 29 fi
30 ;; 30 ;;
31 stop) 31 stop)
32 $0 offline 32 $0 offline
33 ;; 33 ;;