Sha256: a22adb868249304b8408e343499e5e9b6a2f0d312f27d59c7d340c625f95a03d

Contents?: true

Size: 431 Bytes

Versions: 12

Compression:

Stored size: 431 Bytes

Contents

#!/bin/sh

# Standard clean up (when called during the build)
if [ $# -eq 0 ]; then
  rm -rf VBoxGuestAdditions_*.iso
  { sleep 1; /usr/sbin/reboot; } >/dev/null &
  exit 0
fi

# Additional clean up (to execute before the export, making sure root uid is used)
while getopts :f opt; do
  case $opt in
    f) # Apply full clean up
      echo "CLEANING before the export"
      pfexec /usr/sbin/poweroff >/dev/null
    ;;
  esac
done

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
veewee-0.5.0.alpha4 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.5.0.alpha3 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.5.0.alpha2 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.5.0.alpha1 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.5.1 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.5 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.5.pre1 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.4 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.3 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.2 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.1 templates/solaris-10-ga-x86/cleanup.sh
veewee-0.4.0 templates/solaris-10-ga-x86/cleanup.sh