aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ifupdown/ifupdown-ubuntu-0.6.8/init
blob: fa415e57ed76446e79fc249a00e0b16c7d7e3528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

case "$1" in
	start|restart)
		#create the network directory in the volatile /var directory
		mkdir -p /var/run/network
		if [ -e /var/run/network/ifstate ]; then
			echo -n "Cleaning: /var/run/network/ifstate"
			echo -n >/var/run/network/ifstate
			echo "."
		fi
		;;
	stop|reload|force-reload)
		;;
esac