Commits

Brian Mearns committed a67de85 Draft

Replaced echos with infos for better logging without rddebug options.

  • Participants
  • Parent commits 4a368aa

Comments (0)

Files changed (1)

File cryptroot-ask-wait.sh

     echo "$luks_open $device $luksname" >> /tmp/cryptroot-unlock-root.sh
     echo "#rm /tmp/cryptroot-unlock-root.sh" >> /tmp/cryptroot-unlock-root.sh
 
-    echo "Waiting for LUKS root to be unlocked: $MAPPERDEV" > /dev/kmsg
-    echo "You'll probably need to SSH into dropbear." > /dev/kmsg
-    echo "Check /tmp/cryptroot-unlock-root.sh" > /dev/kmsg
-    echo "Then delete that file." > /dev/kmsg
-    echo "Waiting..." > /dev/kmsg
+    info "Waiting for LUKS root to be unlocked: $MAPPERDEV" > /dev/kmsg
+    info "You'll probably need to SSH into dropbear." > /dev/kmsg
+    info "Check /tmp/cryptroot-unlock-root.sh" > /dev/kmsg
+    info "Then delete that file." > /dev/kmsg
+    info "Waiting..." > /dev/kmsg
     while [ -f /tmp/cryptroot-unlock-root.sh ]; do
         sleep 1
     done
-    echo "Lock deleted, continuing." > /dev/kmsg
+    info "Lock deleted, continuing." > /dev/kmsg
 
     unset luks_open
 fi