12 lines
130 B
Bash
Executable File
12 lines
130 B
Bash
Executable File
#!/bin/sh
|
|
|
|
IFDOWN=/sbin/ifdown
|
|
|
|
echo -n "Stopping networking: "
|
|
if ${IFDOWN} -a; then
|
|
echo "done"
|
|
else
|
|
echo "failed"
|
|
exit 1
|
|
fi
|