Skip to content

Instantly share code, notes, and snippets.

View hard-geha's full-sized avatar

Gerhard Haffelt hard-geha

  • Kreuzlingen, CH
View GitHub Profile
@hard-geha
hard-geha / save-running-virtualboxes
Created January 14, 2014 11:11
Simple init.d script to save all running virtualboxes on host shutdown or reboot
#!/bin/bash
### BEGIN INIT INFO
# Provides: save-running-virtualboxes
# Required-Start:
# Required-Stop: $network
# Default-Start:
# Default-Stop: 0 1 6
# Short-Description: Stops all running virtualboxes
# Description: Stops all running virtualboxes of all users
### END INIT INFO