Skip to content

Instantly share code, notes, and snippets.

@tuklusan
Created September 7, 2021 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tuklusan/fce4244d4c2f19e5a68b8c0e150d6492 to your computer and use it in GitHub Desktop.
Save tuklusan/fce4244d4c2f19e5a68b8c0e150d6492 to your computer and use it in GitHub Desktop.
SANYALnet Labs | Save State of VirtualBox Virtual Machines on APC UPS power loss shutdown by apcupsd Linux Daemon /etc/apcupsd : see https://supratim-sanyal.blogspot.com/2021/09/save-state-of-virtualbox-virtual.html
# ls -l
total 60
lrwxrwxrwx 1 root root 27 Aug 17 14:09 annoyme -> do-nothing-event-handler.sh
-rwxr-xr-x 1 root root 4007 Mar 22 2020 apccontrol
-rw-r--r-- 1 root root 13295 Aug 17 12:43 apcupsd.conf
-rw-r--r-- 1 root root 13238 Aug 16 20:22 apcupsd.conf.orig
lrwxrwxrwx 1 root root 27 Aug 17 14:11 battattach -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:11 battdetach -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:10 changeme -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:05 commfailure -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:06 commok -> do-nothing-event-handler.sh
-rwxr-xr-x 1 root root 216 Sep 7 21:35 do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:08 doreboot -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:09 doshutdown -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:09 emergency -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:11 endselftest -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:07 failing -> do-nothing-event-handler.sh
-rw-r--r-- 1 root root 662 Mar 22 2020 hosts.conf
-rwxr-xr-x 1 root root 617 Jul 16 2016 killpower
lrwxrwxrwx 1 root root 27 Aug 17 14:08 loadlimit -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:07 mainsback -> do-nothing-event-handler.sh
-rw-r--r-- 1 root root 2344 Mar 22 2020 multimon.conf
lrwxrwxrwx 1 root root 27 Aug 17 14:07 offbattery -> do-nothing-event-handler.sh
-rwxr-xr-x 1 root root 1385 Sep 7 22:03 onbattery
lrwxrwxrwx 1 root root 27 Aug 17 14:06 powerout -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:10 remotedown -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:08 runlimit -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:10 startselftest -> do-nothing-event-handler.sh
lrwxrwxrwx 1 root root 27 Aug 17 14:07 timeout -> do-nothing-event-handler.sh
-rwxr-xr-x 1 root root 1052 Mar 21 2018 ups-monitor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment