summaryrefslogtreecommitdiff
path: root/packages/ifupdown/ifupdown-0.6.8/init
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 08:19:31 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 08:19:31 +0000
commit72b1c191434a2aa522adc2861abcfc585687853b (patch)
tree762c5f171967bd12d887d0c727c8822650949afe /packages/ifupdown/ifupdown-0.6.8/init
parent842f7bcf3e851d855647fd63627653d1fcc09dae (diff)
ifupdown: updated to 0.6.8 (current Debian version)
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