Differences between current version and predecessor to the previous major change of NutNotes.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 8 | Last edited on Saturday, May 8, 2010 7:53:58 pm | by GlennRamsey | |
Older page: | version 6 | Last edited on Thursday, July 3, 2008 11:41:35 am | by GlennRamsey | Revert |
@@ -84,8 +84,23 @@
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>
+ but that seemed to cause a problem with cancelling the shutdown, after 30s had elapsed
+ <verbatim>
+ AT ONLINE * CANCEL-TIMER early-shutdown
+ </verbatim>
+seems to work properly. I suspect the issue was related to the 'resume' command being given by both 'AT ONLINE' events.
+
''/usr/local/bin/upssched-cmd''
<verbatim>
#!/bin/bash