diff options
Diffstat (limited to 'system/virtualbox-ose-addons/doinst.sh')
-rw-r--r-- | system/virtualbox-ose-addons/doinst.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/system/virtualbox-ose-addons/doinst.sh b/system/virtualbox-ose-addons/doinst.sh index a19270331f..9b1e606f30 100644 --- a/system/virtualbox-ose-addons/doinst.sh +++ b/system/virtualbox-ose-addons/doinst.sh @@ -12,7 +12,7 @@ config() { } # Prepare the new configuration files -for file in etc/rc.d/rc.vboxadd.new etc/rc.d/rc.vboxadd-timesync.new; do +for file in etc/rc.d/rc.vboxadd.new etc/rc.d/rc.vboxadd-service.new; do if [ -e $(dirname $file)/$(basename $file .new) -a -x $(dirname $file)/$(basename $file .new) ]; then chmod 0755 $file else @@ -21,3 +21,8 @@ for file in etc/rc.d/rc.vboxadd.new etc/rc.d/rc.vboxadd-timesync.new; do config $file done +# remove existing fdi cache to recognize newly installed fdi files +# and restart hal to regenerate the cache +rm -f var/cache/hald/fdi-cache +chroot . /etc/rc.d/rc.hald restart + |