Magellan Linux

Diff of /trunk/virtualbox/virtualbox-config.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1684 by niro, Sun Mar 4 11:32:46 2012 UTC revision 2058 by niro, Wed Jan 30 13:43:16 2013 UTC
# Line 139  then Line 139  then
139   # calc module dependencies   # calc module dependencies
140   mecho "Calculating module dependencies ..."   mecho "Calculating module dependencies ..."
141   depmod -a ${KERNEL_VERSION}   depmod -a ${KERNEL_VERSION}
142    fi
143    
144   # re-read udev rules to grant the right permissions  # re-read udev rules to grant the right permissions
145   if [[ -x $(which udevadm) ]]  if [[ -x $(type -P udevadm) ]]
146    then
147     mecho "Reloading udev configuration ..."
148     if [ -x /usr/lib/systemd/systemd-udevd ]
149   then   then
150   mecho "Reloading udev configuration ..."   udevadm control --reload
151     else
152   udevadm control --reload-rules   udevadm control --reload-rules
153   fi   fi
154  fi  fi

Legend:
Removed from v.1684  
changed lines
  Added in v.2058