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

case "$1" in
	start|restart)
		if [ -e /etc/network/ifstate ]; then
			echo -n "Cleaning: /etc/network/ifstate"
			echo -n >/etc/network/ifstate
			echo "."
		fi
		;;
	stop|reload|force-reload)
		;;
esac