aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ifupdown/ifupdown-0.6.8/init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ifupdown/ifupdown-0.6.8/init')
-rw-r--r--recipes/ifupdown/ifupdown-0.6.8/init13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/ifupdown/ifupdown-0.6.8/init b/recipes/ifupdown/ifupdown-0.6.8/init
new file mode 100644
index 0000000000..d258d51ff4
--- /dev/null
+++ b/recipes/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