Work to fix reboot after resize failure.

This commit is contained in:
fewtarius 2023-08-05 14:04:43 +00:00
parent f5a3e72c16
commit 06436e6278
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 9 additions and 9 deletions

View file

@ -573,12 +573,12 @@ CONFIG_CHATTR=y
# CONFIG_MODPROBE_SMALL is not set
# CONFIG_DEPMOD is not set
CONFIG_INSMOD=y
# CONFIG_LSMOD is not set
CONFIG_LSMOD=y
# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set
# CONFIG_MODINFO is not set
# CONFIG_MODPROBE is not set
CONFIG_MODINFO=y
CONFIG_MODPROBE=y
# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set
# CONFIG_RMMOD is not set
CONFIG_RMMOD=y
#
# Options common to multiple modutils
@ -1056,10 +1056,10 @@ CONFIG_FEATURE_FAST_TOP=y
# CONFIG_FREE is not set
# CONFIG_FUSER is not set
# CONFIG_IOSTAT is not set
# CONFIG_KILL is not set
# CONFIG_KILLALL is not set
CONFIG_KILL=y
CONFIG_KILLALL=y
# CONFIG_KILLALL5 is not set
# CONFIG_LSOF is not set
CONFIG_LSOF=y
# CONFIG_MPSTAT is not set
# CONFIG_NMETER is not set
# CONFIG_PGREP is not set

View file

@ -62,7 +62,7 @@ fi
# Remove all of the modules that may be loaded to see if /flash will cleanly unmount.
for module in $(lsmod | awk '{print $1}')
do
rmmod ${module} 2>/dev/null
modprobe -r --remove-dependencies ${module} &>/dev/null
done
shutdown -r now &>/dev/null

View file

@ -7,7 +7,7 @@ After=systemd-tmpfiles-setup.service
Type=oneshot
ExecStart=/usr/bin/userconfig-setup
RemainAfterExit=yes
StandardOutput=syslog+console
StandardOutput=journal+console
[Install]
WantedBy=sysinit.target