Uncommented the ifup/ifdown commands in /etc/init.d/network
This commit is contained in:
2
Makefile
2
Makefile
@@ -12,7 +12,7 @@ DEPENDS = bash,procps-ng,sysvinit
|
|||||||
ARCH = x86_64
|
ARCH = x86_64
|
||||||
URL =
|
URL =
|
||||||
DESC = This package supplies the base system init scripts for sysvinit
|
DESC = This package supplies the base system init scripts for sysvinit
|
||||||
SNAPVER = sr1
|
SNAPVER = sr0
|
||||||
|
|
||||||
ARCHIVE := ''
|
ARCHIVE := ''
|
||||||
SRCDIR := $(PWD)/SRC/initscripts-*
|
SRCDIR := $(PWD)/SRC/initscripts-*
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ case "${1}" in
|
|||||||
interface=${file##*/}
|
interface=${file##*/}
|
||||||
|
|
||||||
log_info_msg "Bringing up interface ${interface}"
|
log_info_msg "Bringing up interface ${interface}"
|
||||||
# /sbin/ifup ${interface} 1>/dev/null
|
/sbin/ifup ${interface} 1>/dev/null
|
||||||
evaluate_retval
|
evaluate_retval
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
@@ -47,7 +47,7 @@ case "${1}" in
|
|||||||
interface=${file##*/}
|
interface=${file##*/}
|
||||||
|
|
||||||
log_info_msg "Bringing down interface ${interface}"
|
log_info_msg "Bringing down interface ${interface}"
|
||||||
# /sbin/ifdown ${interface} 1>/dev/null
|
/sbin/ifdown ${interface} 1>/dev/null
|
||||||
evaluate_retval
|
evaluate_retval
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
Reference in New Issue
Block a user