File tree Expand file tree Collapse file tree 6 files changed +17
-0
lines changed Expand file tree Collapse file tree 6 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 55[ -f " $ROOTFS_LOCK " ] || mount_rootfs_all
66
77do_chroot /bin/sh
8+
9+ quit
Original file line number Diff line number Diff line change 55[ -f " $ROOTFS_IMG " ] && fail " rootfs exist.Please remove it and continue."
66
77install_alpine_rootfs
8+
9+ quit
Original file line number Diff line number Diff line change @@ -19,6 +19,13 @@ echo "
1919
2020cd " $( dirname " $0 " ) "
2121
22+ quit (){
23+ echo " Done. $* "
24+ echo " press enter to countinue."
25+ read
26+ exit 0
27+ }
28+
2229fail (){
2330 echo " Failed. $* "
2431 echo " press enter to countinue."
Original file line number Diff line number Diff line change 55[ -f " $ROOTFS_LOCK " ] && umount_rootfs_all
66
77rm -fr " $ROOTFS_IMG " || fail
8+
9+ quit
Original file line number Diff line number Diff line change 55[ -f " $ROOTFS_LOCK " ] && umount_rootfs_all
66
77resize_rootfs_interactive
8+
9+ quit
Original file line number Diff line number Diff line change 33. " $( dirname " $0 " ) " /lib.sh
44
55umount_rootfs_all
6+
7+ quit
You can’t perform that action at this time.
0 commit comments