Penguin

Differences between version 7 and revision by previous author of NutNotes.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 7 Last edited on Saturday, July 19, 2008 10:14:12 am by GlennRamsey Revert
Older page: version 5 Last edited on Friday, September 14, 2007 12:13:34 pm by JohnMcPherson Revert
@@ -84,8 +84,17 @@
 AT ONLINE * CANCEL-TIMER resume 
 AT ONLINE * EXECUTE resume 
 AT FSD * EXECUTE forced-shutdown 
 </verbatim> 
+  
+ GlennRamsey - On Ubuntu 8.04 the above script doesn't work. According to the man page the line:  
+ <verbatim>  
+ AT ONLINE * CANCEL-TIMER resume  
+ </verbatim>  
+ should be:  
+ <verbatim>  
+ AT ONLINE * CANCEL-TIMER early-shutdown resume  
+ </verbatim>  
  
 ''/usr/local/bin/upssched-cmd'' 
 <verbatim> 
 #!/bin/bash 
@@ -109,8 +118,15 @@
  logger -t upssched-cmd "Unknown command: ${1}" 
  ;; 
 esac 
 </verbatim> 
+  
+!! Notes  
+  
+On Ubuntu 8.04 I had to add 'RUN_AS_USER root' to upsmon.conf in order for the early shutdown script to work. I guess one could achieve the same effect by giving the nut user permission to run shutdown command. -- GlennRamsey  
+  
+The Socomec NETYS PE UPS available from Dick Smith works with nut using the megatec_usb driver. -- GlennRamsey  
+  
  
 --- 
  
 Part of CategorySystemAdministration