PHP 8.5.2
Preview: S01cryptdisks-early Size: 896 B
//etc/rcS.d/S01cryptdisks-early

#! /bin/sh
### BEGIN INIT INFO
# Provides:          cryptdisks-early
# Required-Start:    checkroot
# Required-Stop:     umountroot
# Should-Start:      udev mdadm-raid
# Should-Stop:       udev mdadm-raid
# X-Start-Before:    lvm2
# X-Stop-After:      lvm2 umountfs
# X-Interactive:     true
# Default-Start:     S
# Default-Stop:      0 6
# Short-Description: Setup early encrypted block devices.
# Description:
### END INIT INFO

set -e

if [ -r /lib/cryptsetup/cryptdisks-functions ]; then
	. /lib/cryptsetup/cryptdisks-functions
else
	exit 0
fi

INITSTATE="early"
DEFAULT_LOUD=""

case "$CRYPTDISKS_ENABLE" in
[Nn]*)
	exit 0
	;;
esac

case "$1" in
start)
	do_start
	;;
stop)
	do_stop
	;;
restart|reload|force-reload)
	do_stop
	do_start
	;;
force-start)
	FORCE_START="yes"
	do_start
	;;
*)
	echo "Usage: cryptdisks-early {start|stop|restart|reload|force-reload|force-start}"
	exit 1
	;;
esac

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
1.48 KB lrwxr-xr-x 2025-02-11 08:52:16
Edit Download
2.41 KB lrwxr-xr-x 2025-02-11 08:52:16
Edit Download
3.65 KB lrwxr-xr-x 2025-08-15 12:16:02
Edit Download
937 B lrwxr-xr-x 2024-06-05 13:46:49
Edit Download
896 B lrwxr-xr-x 2024-06-05 13:46:49
Edit Download
1.45 KB lrwxr-xr-x 2024-02-26 12:58:31
Edit Download
2.00 KB lrwxr-xr-x 2024-04-18 10:06:53
Edit Download
760 B lrwxr-xr-x 2024-03-21 13:42:02
Edit Download
959 B lrwxr-xr-x 2024-03-24 15:35:54
Edit Download
1.19 KB lrwxr-xr-x 2021-02-18 08:51:15
Edit Download
2.04 KB lrwxr-xr-x 2024-02-11 13:20:32
Edit Download
2.70 KB lrwxr-xr-x 2021-10-19 09:04:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).