Changeset 5859 in vbox
- Timestamp:
- Nov 28, 2007 9:42:07 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/preinst
r5452 r5859 6 6 7 7 # check for old vboxdrv modules 8 if find /lib/modules -name vboxdrv\*2>/dev/null|grep -q vboxdrv; then8 if find /lib/modules -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then 9 9 # old modules found 10 10 db_get virtualbox-ose/delete-old-modules … … 13 13 Old vboxdrv kernel modules found in 14 14 EOF 15 find /lib/modules -name vboxdrv\*2>/dev/null|sed "s+\(.*\)+ \1+g"15 find /lib/modules -name "vboxdrv\.*" 2>/dev/null|sed "s+\(.*\)+ \1+g" 16 16 cat << EOF 17 17 Removing of these modules denied by debconf setting … … 22 22 db_get virtualbox-ose/delete-old-modules 23 23 if [ "$RET" = "true" ]; then 24 find /lib/modules -name vboxdrv\*2>/dev/null|xargs rm -f 2>/dev/null24 find /lib/modules -name "vboxdrv\.*" 2>/dev/null|xargs rm -f 2>/dev/null 25 25 fi 26 26 fi -
trunk/debian/vboxdrv.init.tmpl
r5739 r5859 80 80 running() 81 81 { 82 lsmod | grep -q $MODNAME[^_-]82 lsmod | grep -q "$MODNAME[^_-]" 83 83 } 84 84 … … 152 152 setup) 153 153 stop 154 if find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then 155 log_action_begin_msg "Removing old VirtualBox kernel module" 156 find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|xargs rm -f 2>/dev/null 157 log_action_end_msg 0 158 fi 154 159 log_daemon_msg "Recompiling VirtualBox kernel module" "$MODNAME" 155 160 if ! /usr/share/virtualbox-ose/src/build_in_tmp install > $LOG 2>&1; then -
trunk/src/VBox/Installer/linux/vboxdrv.sh
r5828 r5859 190 190 . "$CONFIG" 191 191 stop 192 if find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then 193 begin "Removing old VirtualBox kernel module " 194 find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|xargs rm -f 2>/dev/null 195 succ_msg 196 fi 192 197 begin "Recompiling VirtualBox kernel module " 193 198 if ! $INSTALL_DIR/src/build_in_tmp install > /var/log/vbox-install.log 2>&1; then
Note:
See TracChangeset
for help on using the changeset viewer.