summaryrefslogtreecommitdiff
path: root/arch-magik.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch-magik.sh')
-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