mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
move target/default/target_skeleton into package/base-files, put all the default files in ipkg packages, cleanup some junk in toolchain/, toolchain/ no longer changes build_mipsel/root
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1494 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
9
package/base-files/default/sbin/ifdown
Executable file
9
package/base-files/default/sbin/ifdown
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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>&-
|
||||
Reference in New Issue
Block a user