repo.or.cz
/
linux_from_scratch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
removed lfs-commands
[linux_from_scratch.git]
/
bootscripts
/
sysconfig
/
network-devices
/
ifdown
blob
89c0f4cb3eb1106b98167e34afcdf11c530b975d
1
#!/bin/sh
2
3
source
/
etc
/
sysconfig
/
rc
4
source
$rc_functions
5
source
$network_devices
/
ifconfig.
$1
6
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
14
fi
15