Author: allanjude Date: Tue Sep 8 20:22:51 2015 New Revision: 287576 URL: https://svnweb.freebsd.org/changeset/base/287576
Log: service(8) -e does not respect /etc/rc.conf.d/* entries PR: 173454 Submitted by: giantl...@gmail.com (original patch) Approved by: bapt (mentor) MFC after: 1 week Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3600 Modified: head/usr.sbin/service/service.sh Modified: head/usr.sbin/service/service.sh ============================================================================== --- head/usr.sbin/service/service.sh Tue Sep 8 20:07:32 2015 (r287575) +++ head/usr.sbin/service/service.sh Tue Sep 8 20:22:51 2015 (r287576) @@ -71,6 +71,7 @@ if [ -n "$RESTART" ]; then if grep -q ^rcvar $file; then eval `grep ^name= $file` eval `grep ^rcvar $file` + load_rc_config_var ${name} ${rcvar} checkyesno $rcvar 2>/dev/null && run_rc_script ${file} stop fi done @@ -100,6 +101,7 @@ if [ -n "$ENABLED" ]; then if grep -q ^rcvar $file; then eval `grep ^name= $file` eval `grep ^rcvar $file` + load_rc_config_var ${name} ${rcvar} checkyesno $rcvar 2>/dev/null && echo $file fi done _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"