source: calamares/trunk/fuentes/src/modules/initramfscfg/encrypt_hook @ 7538

Last change on this file since 7538 was 7538, checked in by kbut, 13 months ago

sync with github

  • Property svn:executable set to *
File size: 374 bytes
Line 
1#!/bin/sh
2
3  PREREQ=""
4
5  prereqs()
6  {
7          echo "$PREREQ"
8  }
9
10  case $1 in
11  # get pre-requisites
12  prereqs)
13          prereqs
14          exit 0
15          ;;
16  esac
17
18  . /usr/share/initramfs-tools/hook-functions
19  if [ -f /crypto_keyfile.bin ]
20  then
21        cp /crypto_keyfile.bin ${DESTDIR}
22  fi
23  if [ -f /etc/crypttab ]
24  then
25        cp /etc/crypttab ${DESTDIR}/etc/
26  fi
Note: See TracBrowser for help on using the repository browser.