diff options
Diffstat (limited to 'extra/virtualbox-module/post-install')
-rwxr-xr-x | extra/virtualbox-module/post-install | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/extra/virtualbox-module/post-install b/extra/virtualbox-module/post-install deleted file mode 100755 index 2932233e5..000000000 --- a/extra/virtualbox-module/post-install +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# Mettre a jour les modules -depmod - -# Si pas de groupe vboxusers on en creer un -/usr/bin/getent group vboxusers || /usr/sbin/groupadd -g 80 vboxusers - -# Ajout du module dans /etc/sysconfig/modules -if ! grep "vboxdrv" /etc/sysconfig/modules >/dev/null; then - sed -i '/End/ i vboxdrv' /etc/sysconfig/modules -fi -if ! grep "vboxnetflt" /etc/sysconfig/modules >/dev/null; then - sed -i '/End/ i vboxnetflt' /etc/sysconfig/modules -fi - - -# End of File - |