Revert "Let runscript enter the service dir before expand globs"
This reverts commit 9d0dce35c3.
This is being reverted due to the fix still being under discussion.
This commit is contained in:
@@ -174,10 +174,6 @@ status()
|
||||
|
||||
yesno $RC_DEBUG && set -x
|
||||
|
||||
# Enter the dir of the init script to fix the globbing with e.g. depend()
|
||||
# bug 412677
|
||||
cd ${RC_SERVICE%/*}
|
||||
|
||||
_conf_d=${RC_SERVICE%/*}/../conf.d
|
||||
# If we're net.eth0 or openvpn.work then load net or openvpn config
|
||||
_c=${RC_SVCNAME%%.*}
|
||||
|
||||
Reference in New Issue
Block a user