fix bug in turning off auto-decrypt
[automated-distro-installer] / chboot
diff --git a/chboot b/chboot
index 609b41dc758b1f49dd51736d58d570a6ef5a2104..884b2a55f80478fb6f0f0d47c489efc1b8bde5ab 100755 (executable)
--- a/chboot
+++ b/chboot
@@ -63,6 +63,6 @@ e umount $mount_point
 e rmdir $mount_point
 
 if $reboot; then
-    systemctl stop keyscriptoff.service
+    touch /tmp/keyscript-off
     reboot now
 fi