about summary refs log tree commit diff
path: root/core-services/08-sysctl.sh
blob: 30d5c393b5e6ff70654eb9c3c779d4dcb4297492 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# vim: set ts=4 sw=4 et:

if [ -x /sbin/sysctl ]; then
    msg "Loading sysctl(8) settings...\n"
    for d in /etc/sysctl.d /usr/lib/sysctl.d; do
        [ ! -d $d ] && continue
        for x in $d/*.conf; do
            sysctl -p $x
        done
    done
fi