File: cryptsetup-run.preinst

package info (click to toggle)
cryptsetup 2%3A2.1.0-5%2Bdeb10u2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 15,944 kB
  • sloc: ansic: 39,100; sh: 10,547; xml: 762; makefile: 287; perl: 76
file content (13 lines) | stat: -rw-r--r-- 186 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "$1" = install ] && [ ! -f "/etc/crypttab" ]; then
	cat <<-EOC >/etc/crypttab
	# <target name>	<source device>		<key file>	<options>
	EOC
fi

#DEBHELPER#

exit 0