mirror of
https://github.com/unraid/webgui.git
synced 2026-01-11 12:10:25 -06:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user