Changeset cf0d868 in freewrt


Ignore:
Timestamp:
Jul 17, 2006, 5:33:11 AM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
1f0c6bf
Parents:
15d8ea1
Message:

ash doesn't do fall-through

git-svn-id: svn://www.freewrt.org/trunk/freewrt@273 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • package/dnsmasq/files/dnsmasq.init

    r15d8ea1 rcf0d868  
    44
    55case $1 in
    6         autostart)
    7                 test x"$dns_dhcp" = x"NO" && exit 0
    8                 # FALLTHROUGH
    9         start)
    10                 [ -f /etc/dnsmasq.conf ] || exit
    11                 /usr/sbin/dnsmasq
    12                 ;;
    13         stop)
    14                 killall dnsmasq
    15                 ;;
    16         restart)
    17                 $0 stop
    18                 $0 start
    19                 ;;
    20         *)
    21                 echo "Usage: $0 {start | stop | restart}"
    22                 ;;
     6autostart)
     7        test x"$dns_dhcp" = x"NO" && exit 0
     8        exec $0 start
     9        ;;
     10start)
     11        [ -f /etc/dnsmasq.conf ] || exit
     12        /usr/sbin/dnsmasq
     13        ;;
     14stop)
     15        killall dnsmasq
     16        ;;
     17restart)
     18        $0 stop
     19        $0 start
     20        ;;
     21*)
     22        echo "Usage: $0 {start | stop | restart}"
     23        ;;
    2324esac
    2425exit 0
  • package/dropbear/files/dropbear.init

    r15d8ea1 rcf0d868  
    66autostart)
    77        test x"$ssh" = x"NO" && exit 0
    8         # FALLTHROUGH
     8        exec $0 start
     9        ;;
    910start)
    1011        # check for keys
  • package/iptables/files/firewall.init

    r15d8ea1 rcf0d868  
    1010autostart)
    1111        test x"$firewall" = x"NO" && exit 0
    12         # FALLTHROUGH
     12        exec $0 start
     13        ;;
    1314start)
    1415        iptables -N input_rule
Note: See TracChangeset for help on using the changeset viewer.