mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2026-09-07 22:36:52 +00:00
2
chr.sh
2
chr.sh
@@ -283,7 +283,6 @@ download_image(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_autorun() {
|
create_autorun() {
|
||||||
confirm_storge
|
|
||||||
if LOOP=$(losetup -Pf --show chr.img 2>/dev/null); then
|
if LOOP=$(losetup -Pf --show chr.img 2>/dev/null); then
|
||||||
sleep 1
|
sleep 1
|
||||||
MNT=/tmp/chr
|
MNT=/tmp/chr
|
||||||
@@ -316,6 +315,7 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
write_and_reboot() {
|
write_and_reboot() {
|
||||||
|
confirm_storge
|
||||||
printf "$MSG_WARNING\n" "$STORAGE"
|
printf "$MSG_WARNING\n" "$STORAGE"
|
||||||
ask_yesno "$MSG_CONFIRM_CONTINUE"
|
ask_yesno "$MSG_CONFIRM_CONTINUE"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user