diff --git a/etc/rc.d/rc.6 b/etc/rc.d/rc.6 index 63d1e4fe1..8368d0f93 100755 --- a/etc/rc.d/rc.6 +++ b/etc/rc.d/rc.6 @@ -259,13 +259,21 @@ fi # This never hurts: /bin/sync -# now remount /boot read-only log "Remounting /boot read-only:" run /bin/mount -v -o remount,ro /boot +log "Remounting /lib read-only:" +run /bin/mount -v -o remount,ro /lib + +log "Remounting /usr read-only:" +run /bin/mount -v -o remount,ro /usr + log "Remounting root filesystem read-only:" run /bin/mount -v -n -o remount,ro / +# Update PATH hashes: +hash -r + # sleep 3 fixes problems with some hard drives that don't # otherwise finish syncing before reboot or poweroff /bin/sleep 3 diff --git a/etc/rc.d/rc.local b/etc/rc.d/rc.local index ffcf5a987..4249f8d0b 100755 --- a/etc/rc.d/rc.local +++ b/etc/rc.d/rc.local @@ -68,7 +68,7 @@ fi # upgrade network configuration (if needed) and (re)generates our welcome text if [[ -x /usr/local/sbin/create_network_ini ]]; then - /usr/local/sbin/create_network_ini init &>/dev/null & + /usr/local/sbin/create_network_ini init & fi # Needed by dynamix