Merge remote-tracking branch 'upstream/master'

This commit is contained in:
bergware
2024-12-20 22:28:31 +01:00
2 changed files with 10 additions and 2 deletions

View File

@@ -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

View File

@@ -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