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
|
||||
URL =
|
||||
DESC = This package supplies the base system init scripts for sysvinit
|
||||
SNAPVER = sr1
|
||||
SNAPVER = sr0
|
||||
|
||||
ARCHIVE := ''
|
||||
SRCDIR := $(PWD)/SRC/initscripts-*
|
||||
|
||||
@@ -36,7 +36,7 @@ case "${1}" in
|
||||
interface=${file##*/}
|
||||
|
||||
log_info_msg "Bringing up interface ${interface}"
|
||||
# /sbin/ifup ${interface} 1>/dev/null
|
||||
/sbin/ifup ${interface} 1>/dev/null
|
||||
evaluate_retval
|
||||
done
|
||||
;;
|
||||
@@ -47,7 +47,7 @@ case "${1}" in
|
||||
interface=${file##*/}
|
||||
|
||||
log_info_msg "Bringing down interface ${interface}"
|
||||
# /sbin/ifdown ${interface} 1>/dev/null
|
||||
/sbin/ifdown ${interface} 1>/dev/null
|
||||
evaluate_retval
|
||||
done
|
||||
;;
|
||||
Reference in New Issue
Block a user