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

# This is a hook for live-build(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