1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-20 23:30:43 +03:00
openwrt-xburst/obsolete-buildroot/sources/openwrt/root/sbin/ifdown
mbm 6500719d9c wap54g support
separate S50services into individual files
move nvram_get to 'nvram get' making nvram overrides more transparent


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2004-09-07 05:54:07 +00:00

9 lines
200 B
Bash
Executable File

#!/bin/ash
. /etc/functions.sh
type=$1
debug "### ifdown $type ###"
if=$(nvram get ${type}_ifname)
if_valid $if || return
kill $(cat /var/run/${if}.pid 2>&-) 2>&-
$DEBUG ifconfig $if down