search for: start_stop_serv

Displaying 2 results from an estimated 2 matches for "start_stop_serv".

Did you mean: start_stop_server
2009 May 27
3
This guy must be an idiot
OK, can someone tell me what utterly moronic thing I am doing wrong? I have two roughly identical Linux system running NUT, and one works properly. The other almost does. The second system works well once everything is up, but after booting, the system does not have connectivity to the UPS. I have to manually run `upsdrvctl start backup`, `/etc/init.d/nut start`, and `upsd` to get NUT
2007 Feb 06
9
Shutdown problem with Geek Squad GS1285U
...rvctl log=">/dev/null 2>/dev/null" # Check if /var/run/nut exists and has the correct perms check_var_directory() { [ ! -d ${pid_dir} ] && mkdir -p ${pid_dir} \ && chown root:nut ${pid_dir} \ && chmod 770 ${pid_dir} } start_stop_server () { case "$START_UPSD" in y|Y|yes|YES|Yes) case "$1" in start) ! $upsdrvctl start >/dev/null 2>&1 && \ echo -n " (upsdrvctl failed)" start-stop-daemon -S -q -p $upsd_pid -x $upsd >/dev/null 2...