Magellan Linux

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

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

revision 1686 by niro, Sun Mar 4 12:32:49 2012 UTC revision 2058 by niro, Wed Jan 30 13:43:16 2013 UTC
# Line 142  then Line 142  then
142  fi  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  then
147   mecho "Reloading udev configuration ..."   mecho "Reloading udev configuration ..."
148   udevadm control --reload-rules   if [ -x /usr/lib/systemd/systemd-udevd ]
149     then
150     udevadm control --reload
151     else
152     udevadm control --reload-rules
153     fi
154  fi  fi
155    
156  # load the module  # load the module

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