security-misc/etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs
Patrick Schleizer 6f8d89c6c5
error handling
2020-01-15 15:54:06 -05:00

22 lines
332 B
Bash
Executable File

#!/bin/sh
## Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
PREREQ=""
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
sysctl -p ${rootmnt}/etc/sysctl.conf
sysctl -p ${rootmnt}/etc/sysctl.d/*.conf
true