summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/sbin/ifdown
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/default/target_skeleton/sbin/ifdown')
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/ifdown9
1 files changed, 0 insertions, 9 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/ifdown b/openwrt/target/default/target_skeleton/sbin/ifdown
deleted file mode 100755
index 6b255cc1b..000000000
--- a/openwrt/target/default/target_skeleton/sbin/ifdown
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/ash
-[ $# = 0 ] && { echo " $0 <group>"; exit; }
-. /etc/functions.sh
-type=$1
-debug "### ifdown $type ###"
-if=$(nvram get ${type}_ifname)
-if_valid $if || exit
-$DEBUG ifconfig $if down
-kill $(cat /var/run/${if}.pid 2>&-) 2>&-