mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
busybox: init: support for custom sysctl.conf file in /storage/.config/
This commit is contained in:
parent
ca8163e340
commit
11c294f4e1
@ -37,3 +37,8 @@ progress "setup sysctl"
|
|||||||
if [ -f /etc/sysctl.conf ]; then
|
if [ -f /etc/sysctl.conf ]; then
|
||||||
sysctl -p /etc/sysctl.conf > /dev/null 2>&1 &
|
sysctl -p /etc/sysctl.conf > /dev/null 2>&1 &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f /storage/.config/sysctl.conf ]; then
|
||||||
|
progress "set sysctls from /storage/.config/sysctl.conf"
|
||||||
|
sysctl -p /storage/.config/sysctl.conf > /dev/null 2>&1 &
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user