Reboot at end of one-time filesystem resize (#42)
This results in the first "real" boot being read-only instead of half writable (/boot read-only but / writable).
This commit is contained in:
parent
0e9d2fbb99
commit
f2e493831a
|
@ -17,7 +17,8 @@ case "$1" in
|
|||
update-rc.d resize2fs_once remove &&
|
||||
rm /etc/init.d/resize2fs_once &&
|
||||
sed -i '/vfat\|ext4/s/defaults/defaults,ro/' /etc/fstab &&
|
||||
log_end_msg $?
|
||||
log_end_msg $? &&
|
||||
reboot
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 start" >&2
|
||||
|
|
Loading…
Reference in New Issue
Block a user