]> code.delx.au - monosys/commitdiff
Fixed docs in reboot script
authorJames Bunton <jamesbunton@delx.net.au>
Sat, 31 Oct 2015 00:03:57 +0000 (11:03 +1100)
committerJames Bunton <jamesbunton@delx.net.au>
Sat, 31 Oct 2015 00:03:57 +0000 (11:03 +1100)
scripts/reboot-no-passphrase

index ebd845131b66428273fb28e1697b648008b3f697..b37dee39668619f8316f4cf27718e8b378c5eb5a 100755 (executable)
@@ -3,8 +3,8 @@
 # When using the Arch Linux mkinitcpio encrypt if the file /crypto_keyfile.bin
 # exists in the initramfs then it will be used to attempt unlocking.
 # 1. dd if=/dev/urandom of=/crypto_keyfile.bin bs=1 count=512
-# 2. mkinitcpio -p linux
-# 3. Add /crypto_keyfile.bin to FILES in /etc/mkinitcpio.conf
+# 2. Add /crypto_keyfile.bin to FILES in /etc/mkinitcpio.conf
+# 3. mkinitcpio -p linux
 # 4. Enable the disable-crypto_keyfiles@<root-disk-uuid>.service
 # 5. Run this script when you want to reboot without a passphrase