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:
William Hubbs 2012-04-26 11:28:02 -05:00
parent 9d0dce35c3
commit f971c4c0b5

View File

@ -174,10 +174,6 @@ status()
yesno $RC_DEBUG && set -x 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 _conf_d=${RC_SERVICE%/*}/../conf.d
# If we're net.eth0 or openvpn.work then load net or openvpn config # If we're net.eth0 or openvpn.work then load net or openvpn config
_c=${RC_SVCNAME%%.*} _c=${RC_SVCNAME%%.*}