search for: rc_exit

Displaying 4 results from an estimated 4 matches for "rc_exit".

Did you mean: mc_exit
2007 Jun 27
1
Using MGE UPS's with NUT and openSUSE
...valid /proc/bus/usb/003/002 in /etc/ups/ups.conf". A crude workaround is to look for and comment out some code in /etc/init.d/upsd as follows: # if test -n "$PORT" && test -e "$PORT" ; then # chown $UPS_OWNER $PORT || { rc_failed ; rc_status -v ; rc_exit ; } # else # echo -n "$0: invalid $PORT in $UPS_CONFIG" # rc_failed 2 ; rc_status -v ; rc_exit # fi I'm sure that a more elegant and permanent solution is possible. 6. When NUT is running, the command "ps aux | grep ups" should report that the fo...
2002 Aug 29
1
Need Help: Sometimes Stop during smbd start
...rc_status -v ;; probe) test $SMB_CONF -nt $SMB_PID && echo reload test $SMB_CONF -nt $NMB_PID && echo reload ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}" exit 1 ;; esac rc_exit
2014 Dec 06
1
Bug#772274: xen-utils-common: when upgrading package: insserv: Service xenstored has to be enabled to start service xendomains
...5; echo_rc; rc_failed 3; shift; fi if test "$1" = "-u"; then rc_failed ${_RC_UNUSED}; echo_rc; rc_failed 3; shift; fi if test "$1" = "-v"; then echo_rc; shift; fi if test "$1" = "-r"; then _RC_RV=0; shift; fi return ${_RC_RV} } rc_exit() { exit ${_RC_RV}; } rc_active() { if test -z "$RUNLEVEL"; then read RUNLEVEL REST < <(/sbin/runlevel); fi if test -e /etc/init.d/S[0-9][0-9]${1}; then return 0; fi return 1 } fi if ! which usleep >&/dev/null then usleep() { if [ -n "$1" ]...
2005 May 30
24
stable / unstable parallel install?
Hi, Is there some easy way to install both 2.x and unstable xen tools at the same machine? Seems /usr is hardcoded everythere in the tools Makefiles, looks like there is no easy way to put them to different paths (say, prefix /opt/xen2 and /opt/xen3) :-/ Gerd _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com