summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-07-21 00:45:43 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-07-21 00:45:43 +0530
commitd6814630aff87e86a739466e6ccf3a2bc37b2ae6 (patch)
tree0fdb47676a0e2c9980db9c444769826019abe63e
parentbc9d7870519781d760057c3c3d0b579cd195de75 (diff)
force reboot
-rwxr-xr-xarch-magik.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch-magik.sh b/arch-magik.sh
index 7062bab..872959b 100755
--- a/arch-magik.sh
+++ b/arch-magik.sh
@@ -99,7 +99,8 @@ sed '1,/^#part3$/d' arch_install2.sh > $ai3_path
chown $username:$username $ai3_path
chmod +x $ai3_path
sed '1,/^#ltr/d' arch_install2.sh > /home/$username/ltr.sh
-sed -i '/sudo/s/^#//g' /home/$username/ltr.sh
+sed -i '/sudo/s/^#//g' /home/$username/ltr.sh &&
+exit &&
reboot
#part3