comparison debian/init @ 341:8f8db12ae359 noffle

[svn] minor cleanup
author godisch
date Tue, 04 Mar 2003 22:16:42 +0000
parents 1aa1ed030464
children 82457f16cf43
comparison
equal deleted inserted replaced
340:53b3cb6cae3d 341:8f8db12ae359
1 #!/bin/sh 1 #!/bin/sh
2 # $Id: init 473 2003-03-04 20:40:26Z godisch $ 2 # $Id: init 477 2003-03-04 22:16:42Z 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
8 NOFFLE_FETCHMODE="ppp" 8 NOFFLE_FETCHMODE="ppp"
9 else 9 else
10 NOFFLE_FETCHMODE="cron" 10 NOFFLE_FETCHMODE="cron"
11 fi 11 fi
12 if [ -f /etc/default/noffle ]; then 12 [ -f /etc/default/noffle ] && . /etc/default/noffle || :
13 . /etc/default/noffle
14 fi
15 13
16 [ -x "$NOFFLE" ] || exit 0 14 [ -x "$NOFFLE" ] || exit 0
17 15
18 case "$1" in 16 case "$1" in
19 online|offline) 17 online|offline)