]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
(sysctl): Ignore unknown keys in sysctl.conf since kernels can have too different...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 20 Jun 2004 11:33:00 +0000 (11:33 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 20 Jun 2004 11:33:00 +0000 (11:33 +0000)
svn-id: @4224

rc.d/init.d/network
rc.d/rc.sysinit

index 8fa2df41894056990bd1e1ec2d1d09844758d946..d3c3742158c70c92df6d89d1bf1ae8841e5b9347 100644 (file)
@@ -60,7 +60,7 @@ modprobe_net
 [ -x /sbin/nameif -a -f /etc/mactab ] && run_cmd "Setting interfaces names (nameif)" /sbin/nameif
 
 # Kernel network parameters
-run_cmd "Setting network parameters" sysctl -p /etc/sysctl.conf
+run_cmd "Setting network parameters" sysctl -e -p /etc/sysctl.conf
 
 # Set UP loopback interface
 set_up_loopback
index 0a07352d91b8d3fa2f4f05e2ad9601750cd1c51b..50bb7d56bcf065b0acd3ee43deffa018c8ce1bb5 100755 (executable)
@@ -113,7 +113,7 @@ fi
 
 # Configure Linux kernel (initial configuration, some required modules still
 # may be missing).
-/sbin/sysctl -p /etc/sysctl.conf > /dev/null 2>&1
+/sbin/sysctl -e -p /etc/sysctl.conf > /dev/null 2>&1
 
 # Set the system clock.
 ARC=0
This page took 0.03799 seconds and 4 git commands to generate.