search for: execscript

Displaying 5 results from an estimated 5 matches for "execscript".

2023 Jan 12
1
NUT & UPS, how to shut down client after 2 min on battery?
...r NOTIFYFLAG ONLINE SYSLOG+EXEC NOTIFYFLAG ONBATT SYSLOG+EXEC NOTIFYFLAG LOWBATT SYSLOG+EXEC NOTIFYFLAG REPLBATT SYSLOG+EXEC NOTIFYCMD /usr/sbin/upssched RBWARNTIME 43200 NOCOMMWARNTIME 300 FINALDELAY 5 And in /etc/nut/upssched.conf (changed from 2 min to 4 min) CMDSCRIPT /etc/nut/upssched-execscript.sh PIPEFN /etc/nut/upssched.pipe LOCKFN /etc/nut/upssched.lock AT ONBATT * START-TIMER shutdown_onbatt 240 AT ONBATT * EXECUTE info_onbatt AT ONLINE * CANCEL-TIMER shutdown_onbatt AT ONLINE * EXECUTE ups-back-on-power AT LOWBATT * EXECUTE shutdown_lowbatt AT REPLBATT * EXECUTE replace_batt...
2005 Nov 25
1
USRMGR Not adding users properly
...p script = /usr/bin/gpasswd -a %u %g delete user from group script = /usr/bin/gpasswd -d %u %g store dos attributes = yes utmp = yes [netlogon] path = /home/_shares/netlogon browseable = no read only = yes root preexec = /home/_shares/execscripts/netlogon.sh %U %g %H %M %a %I %m %L root postexec = /home/_shares/execscripts/netlogoff.sh %U %g %H %M %a %I %m %T
2022 Dec 22
3
NUT & UPS, how to shut down client after 2 min on battery?
Hi! Some systems I have take some time to shut down, so I would like them to shut down if the UPS have been on battery for 2 minutes. Internet has told me that SHUTDOWNCMD ?/sbin/shutdown -h +0? in /etc/nut/upsmon.conf will execute when the UPS is both OB (on battery) and LB (Low battery). Like in wiki.ipfire.org - Detailed NUT Configuration<https://wiki.ipfire.org/addons/nut/detailed>
2010 Nov 12
0
Wine release 1.3.7
...ns. mshtml: Don't free string that will be cleared by SafeArrayDestroy. mshtml: Added IOmNavigator::get_plugins implementation. mshtml: Added IDispatchEx support to HTMLStyleSheetsCollection object. mshtml: Use macro for tid declaration. mshtml: Added IHTMLWindow2::execScript implementation. mshtml: Added execScript tests. urlmon: Added IInternetProtocolEx support to BindProtocol. mshtml: Added HTMLWindow's IServiceProvider implementation. mshtml: Added IHTMLObjectElement::get_vspace implementation. mshtml.idl: Added IHTMLStyleElement a...
2011 Jul 22
0
Wine release 1.3.25
...l: Implement nsIURI::SetUserPass on top of IUri. mshtml: Moved style tests to separated file. mshtml: Added IHTMLStyle::pageBreakBefore implementation. mshtml: Added IHTMLStyle2::direction property implementation. urlmon: Added support for javascript URIs. mshtml: Make execScript tests more generic. mshtml: Return NS_BINDING_ABORTED for canceled binding in AsyncOpen. Jay Yang (11): shell32/tests: Add tests for SHQueryRecycleBin. shell32: Implement SHQueryRecycleBin. shell32: Implement SHEmptyRecycleBin. shell32: Have RecycleBin implement ISFHe...