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