luksrku/initramfs/install

15 lines
251 B
Plaintext
Raw Permalink Normal View History

2016-09-22 20:40:58 +02:00
#!/bin/bash
#
#
install() {
SRC="$1"
DST="$2"
cp "$SRC" "$DST"
chown root:root "$DST"
chmod 755 "$DST"
}
install luksrku-script /usr/share/initramfs-tools/scripts/local-top/luksrku
install luksrku-hook /usr/share/initramfs-tools/hooks/luksrku