Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

dropbear_initrd_encrypt

By: a guest on Dec 10th, 2012  |  syntax: Diff  |  size: 0.46 KB  |  views: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/dropbear_install b/dropbear_install
  2. index 972d67d..2041503 100644
  3. --- a/dropbear_install
  4. +++ b/dropbear_install
  5. @@ -67,7 +67,7 @@ build ()
  6.  
  7.    [ -e "${TMPDIR}/passwd" ] && ( grep -q -e '^root:' "${TMPDIR}/passwd" ) || make_etc_passwd
  8.  
  9. -  MODULES=" $(checked_modules "/drivers/net/") "
  10. +  MODULES=" $(add_checked_modules "/drivers/net/") "
  11.    BINARIES="/bin/rm /usr/sbin/dropbear /usr/bin/killall"
  12.  
  13.    cat <<SCRIPTEOF > ${TMPDIR}/cryptsetup_shell