mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 08:26:01 -04:00
Set sysctl values in initramfs
This commit is contained in:
parent
8341242abc
commit
8c4e0ff1c4
2 changed files with 39 additions and 0 deletions
18
etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs
Executable file
18
etc/initramfs-tools/scripts/init-bottom/sysctl-initramfs
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/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.d/*.conf
|
Loading…
Add table
Add a link
Reference in a new issue