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

« back to all changes in this revision

Viewing changes to src/bootloader-manager/md5_crypt_grub.sh

  • Committer: Tomé Vardasca
  • Date: 2007-08-14 14:46:47 UTC
  • Revision ID: cacau.pt@gmail.com-20070814144647-o9ozx251yfve4zri
change on package structure

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