summaryrefslogtreecommitdiff
path: root/examples/hooks/virtualbox-ose.sh
blob: bcf7289b51f27b6ed2ef42cd75050f652af08b73 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# This is a hook for live-helper(7) to enable virtualbox-ose module.
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.

# Enabling loading of vboxdrv
sed -i -e 's|^LOAD_VBOXDRV_MODULE=.*$|LOAD_VBOXDRV_MODULE=1|' /etc/default/virtualbox-ose