ifupdown : Fix path to ifstate file.
[openembedded.git] / recipes / ifupdown / ifupdown-0.6.10 / init
1 #!/bin/sh -e
2
3 case "$1" in
4         start|restart)
5                 if [ -e /etc/network/run/ifstate ]; then
6                         echo -n "Cleaning: /etc/network/run/ifstate"
7                         echo -n >/etc/network/run/ifstate
8                         echo "."
9                 fi
10                 ;;
11         stop|reload|force-reload)
12                 ;;
13 esac