Initial revision
[openwrt.git] / openwrt / target / default / target_skeleton / etc / init.d / S40network
1 #!/bin/sh
2 #
3 # Start the network....
4 #
5
6 start() {
7 echo "Starting network..."
8 /sbin/ifup -a
9 }
10 stop() {
11 echo -n "Stopping network..."
12 /sbin/ifdown -a
13 }
14 restart() {
15 stop
16 start
17 }
18
19 case "$1" in
20 start)
21 start
22 ;;
23 stop)
24 stop
25 ;;
26 restart|reload)
27 restart
28 ;;
29 *)
30 echo $"Usage: $0 {start|stop|restart}"
31 exit 1
32 esac
33
34 exit $?
35
This page took 0.057504 seconds and 5 git commands to generate.