summaryrefslogtreecommitdiff
path: root/packages/ifupdown/ifupdown-0.6.8/init
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 15:57:13 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 15:57:13 +0000
commitc365f60cbcfd55c56a5a414cc3951773832da35e (patch)
tree100378f3fc21a4d8ac9e0bc63c338893ed55e09c /packages/ifupdown/ifupdown-0.6.8/init
parentabcb81efda9e55f18e9c782aebd93f067e592be5 (diff)
parentd1b1c754d72fcaf47d9b312450c07ba200c22d8c (diff)
merge of '2c8930a5e3dfc1e355f0dede8fde6b887e2d33de'
and 'cf2bb56e5f6bd283e65c7bf7c89c86e77dbd1fb0'
Diffstat (limited to 'packages/ifupdown/ifupdown-0.6.8/init')
-rw-r--r--packages/ifupdown/ifupdown-0.6.8/init13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/ifupdown/ifupdown-0.6.8/init b/packages/ifupdown/ifupdown-0.6.8/init
new file mode 100644
index 0000000000..d258d51ff4
--- /dev/null
+++ b/packages/ifupdown/ifupdown-0.6.8/init
@@ -0,0 +1,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