summaryrefslogtreecommitdiffstats
path: root/target/default/target_skeleton/sbin/ifdown
diff options
context:
space:
mode:
Diffstat (limited to 'target/default/target_skeleton/sbin/ifdown')
-rwxr-xr-xtarget/default/target_skeleton/sbin/ifdown9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/default/target_skeleton/sbin/ifdown b/target/default/target_skeleton/sbin/ifdown
deleted file mode 100755
index 6b255cc1b..000000000
--- a/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>&-