summaryrefslogtreecommitdiff
path: root/packages/ifupdown/ifupdown-0.6.8/init
diff options
context:
space:
mode:
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