Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
sysconfig
sysconfig-netcontrol_global_hooks-exit-code.bnc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sysconfig-netcontrol_global_hooks-exit-code.bnc450155.diff of Package sysconfig
--- scripts/netcontrol_global_hooks +++ scripts/netcontrol_global_hooks 2008/12/01 13:25:30 @@ -27,15 +27,15 @@ # Note that hooked scripts are called always _after_ the interface is up/down. # Calling them earlier would require a change in NetworkManager itself. -cd /etc/sysconfig/network/ || exit +cd /etc/sysconfig/network/ || exit 0 test -r ./config && . ./config test -r scripts/functions && . scripts/functions INTERFACE=$1 ACTION=$2 -test "$ACTION" == down -a "$GLOBAL_PRE_DOWN_EXEC" != yes && exit -test "$ACTION" == up -a "$GLOBAL_POST_UP_EXEC" != yes && exit +test "$ACTION" == down -a "$GLOBAL_PRE_DOWN_EXEC" != yes && exit 0 +test "$ACTION" == up -a "$GLOBAL_POST_UP_EXEC" != yes && exit 0 shopt -s nullglob for a in if-${ACTION}.d/*; do @@ -43,4 +43,5 @@ info_mesg "calling '`pwd`/$a '${INTERFACE}' ${INTERFACE} -o nm'" $a "${INTERFACE}" ${INTERFACE} -o nm done +exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor