Changeset 18056 in vbox for trunk/src/VBox
- Timestamp:
- Mar 18, 2009 12:09:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r17950 r18056 205 205 } 206 206 fi 207 chown $owner:$group $dev 2>/dev/null || { 208 rm -f $dev 2>/dev/null 209 rm -f $userdev 2>/dev/null 210 rmmod vboxadd 2>/dev/null 211 fail "Cannot change owner $owner:$group for device $dev" 212 } 213 207 214 if [ ! -c $userdev ]; then 208 215 maj=10 … … 214 221 fail "Cannot create device $userdev with major $maj and minor $min" 215 222 } 216 fi 217 fi 218 chown $owner:$group $dev 2>/dev/null || { 219 rm -f $dev 2>/dev/null 220 rm -f $userdev 2>/dev/null 221 rmmod vboxadd 2>/dev/null 222 fail "Cannot change owner $owner:$group for device $dev" 223 } 224 chown $owner:$group $userdev 2>/dev/null || { 225 rm -f $dev 2>/dev/null 226 rm -f $userdev 2>/dev/null 227 rmmod vboxadd 2>/dev/null 228 fail "Cannot change owner $owner:$group for device $userdev" 229 } 223 chown $owner:$group $userdev 2>/dev/null || { 224 rm -f $dev 2>/dev/null 225 rm -f $userdev 2>/dev/null 226 rmmod vboxadd 2>/dev/null 227 fail "Cannot change owner $owner:$group for device $userdev" 228 } 229 fi 230 fi 230 231 231 232 if [ -n "$BUILDVBOXVFS" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.