SVN: rc-scripts/branches/upstart_native/rc.d/init.d/functions

jajcus jajcus at pld-linux.org
Thu May 6 13:22:50 CEST 2010


Author: jajcus
Date: Thu May  6 13:22:49 2010
New Revision: 11386

Modified:
   rc-scripts/branches/upstart_native/rc.d/init.d/functions
Log:
- fixes

Modified: rc-scripts/branches/upstart_native/rc.d/init.d/functions
==============================================================================
--- rc-scripts/branches/upstart_native/rc.d/init.d/functions	(original)
+++ rc-scripts/branches/upstart_native/rc.d/init.d/functions	Thu May  6 13:22:49 2010
@@ -1170,9 +1170,11 @@
 	fi
 	if strstr "$status" "running" ; then
 		# program is running or service is OK
+		echo "$status"
 		return 0
 	else
 		# program is not running
+		echo "$status"
 		return 3
 	fi
 	# TODO: other statuses
@@ -1263,7 +1265,7 @@
 #		- to pass handle only specific commands the upstart way
 #                 and leave the rest to the script
 #
-alias upstart_controlled='_check_init $0 "$@"'
+alias upstart_controlled='_upstart_controlled $0 "$@"'
 
 rc_gettext_init
 rc_cache_init


More information about the pld-cvs-commit mailing list