]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blob - misc/sysfiles/etc/init.d/network
CHANGELOG 2006-01-14
[hdw-linux/hdw-linux.git] / misc / sysfiles / etc / init.d / network
1 #!/bin/sh
2 #
3 # hdw - linux /etc/init.d/network (copied from ROCK Linux)
4 #
5 # low level network stuff
6 #
7
8 . /etc/conf/network
9
10 case "$1"
11 in
12         start)
13                 start_net
14                 ;;
15         stop)
16                 stop_net
17                 ;;
18         restart)
19                 $0 stop ; $0 start ;;
20         *)
21                 echo "Usage: $0 { start | restart | stop }" ; exit 1 ;;
22 esac
23
24 exit 0