~glatzor/ubuntu-bootloader-manager/ui-review

« back to all changes in this revision

Viewing changes to share/bootloader-manager/lib/bootloader_manager/md5_crypt_grub.sh

  • Committer: Tomé Vardasca
  • Date: 2007-07-24 22:54:09 UTC
  • Revision ID: cacau.pt@gmail.com-20070724225409-z9ar3g4aft0db1gz
initial release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Run the grub shell.
 
3
#taken from sript grub-md5-crypt
 
4
grub --batch --device-map=/dev/null <<EOF \
 
5
    | grep "^Encrypted: " | sed 's/^Encrypted: //'
 
6
md5crypt
 
7
$@
 
8
quit
 
9
EOF
 
10
# Bye.
 
11
exit 0