Changeset 17950 in vbox
- Timestamp:
- Mar 16, 2009 4:13:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r17948 r17950 206 206 fi 207 207 if [ ! -c $userdev ]; then 208 maj= 0208 maj=10 209 209 min=`sed -n 's;\([0-9]\+\) vboxuser;\1;p' /proc/misc` 210 210 if [ ! -z "$min" ]; then 211 maj=10 212 fi 213 test ! -z "$maj" && mknod -m 0666 $userdev c $maj $min || { 214 rm -f $dev 2>/dev/null 215 rmmod vboxadd 2>/dev/null 216 fail "Cannot create device $userdev with major $maj and minor $min" 217 } 211 mknod -m 0666 $userdev c $maj $min || { 212 rm -f $dev 2>/dev/null 213 rmmod vboxadd 2>/dev/null 214 fail "Cannot create device $userdev with major $maj and minor $min" 215 } 216 fi 218 217 fi 219 218 chown $owner:$group $dev 2>/dev/null || {
Note:
See TracChangeset
for help on using the changeset viewer.