The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / system / skeleton / etc / init.d / S40network
1 #!/bin/sh
2 #
3 # Start the network....
4 #
5
6 # Debian ifupdown needs the /run/network lock directory
7 mkdir -p /run/network
8
9 case "$1" in
10   start)
11         echo "Starting network..."
12         /sbin/ifup -a
13         ;;
14   stop)
15         echo -n "Stopping network..."
16         /sbin/ifdown -a
17         ;;
18   restart|reload)
19         "$0" stop
20         "$0" start
21         ;;
22   *)
23         echo "Usage: $0 {start|stop|restart}"
24         exit 1
25 esac
26
27 exit $?
28