removed lfs-commands
[linux_from_scratch.git] / bootscripts / sysconfig / network-devices / ifdown
blob89c0f4cb3eb1106b98167e34afcdf11c530b975d
1 #!/bin/sh
3 source /etc/sysconfig/rc
4 source $rc_functions
5 source $network_devices/ifconfig.$1
7 if [ -f $network_devices/ifdown-$1 ]
8 then
9 $network_devices/ifdown-$1
10 else
11 echo "Bringing down the $1 interface..."
12 ifconfig $1 down
13 evaluate_retval