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).
pull/311/head
Peter Johnson 2019-01-11 01:14:24 -08:00 committed by GitHub
parent 0e9d2fbb99
commit f2e493831a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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