Commit 57639afb authored by Seblu's avatar Seblu
Browse files

fix boot order virtualbox


git-svn-id: https://seblu.net/s/archpkg@54 02741741-5192-46b8-8916-7152b19231d9
parent 66f2ed87
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -23,11 +23,11 @@ load() {
  fi
  stat_busy "Loading VirtualBox kernel modules"
  # trivial loading
  for module in vbox{netflt,netadp,drv}; do
  for module in vbox{drv,netadp,netflt}; do
      modprobe $module &>/dev/null
  done
  # check
  for module in vbox{netflt,netadp,drv}; do
  for module in vbox{drv,netadp,netflt}; do
    if ! grep -q "^${module}" /proc/modules; then
      stat_fail
      return 1
@@ -45,7 +45,7 @@ unload() {
    fi
  done
  # check
  for module in vbox{netflt,netadp,drv}; do
  for module in vbox{drv,netadp,netflt}; do
    if grep -q "^${module}" /proc/modules; then
      stat_fail
      return 1