Skip to content

Commit 73c7466

Browse files
committed
.
1 parent 5e760d9 commit 73c7466

File tree

6 files changed

+17
-0
lines changed

6 files changed

+17
-0
lines changed

chroot.shell.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
[ -f "$ROOTFS_LOCK" ] || mount_rootfs_all
66

77
do_chroot /bin/sh
8+
9+
quit

install.alpine.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
[ -f "$ROOTFS_IMG" ] && fail "rootfs exist.Please remove it and continue."
66

77
install_alpine_rootfs
8+
9+
quit

lib.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ echo "
1919

2020
cd "$(dirname "$0")"
2121

22+
quit(){
23+
echo "Done. $*"
24+
echo "press enter to countinue."
25+
read
26+
exit 0
27+
}
28+
2229
fail(){
2330
echo "Failed. $*"
2431
echo "press enter to countinue."

remove.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
[ -f "$ROOTFS_LOCK" ] && umount_rootfs_all
66

77
rm -fr "$ROOTFS_IMG" || fail
8+
9+
quit

resize.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
[ -f "$ROOTFS_LOCK" ] && umount_rootfs_all
66

77
resize_rootfs_interactive
8+
9+
quit

umount.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
. "$(dirname "$0")"/lib.sh
44

55
umount_rootfs_all
6+
7+
quit

0 commit comments

Comments
 (0)