Update of /cvsroot/devil-linux/build/config/etc/init.d
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10256/config/etc/init.d
Modified Files:
boot
Log Message:
process /etc/sysctl.conf on boot if it exists
Index: boot
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/init.d/boot,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- boot 2 Jul 2004 01:40:41 -0000 1.23
+++ boot 2 Aug 2004 13:38:59 -0000 1.24
@@ -56,6 +56,12 @@
sync
evaluate_retval
+if [ -x /sbin/sysctl -a -f /etc/sysctl.conf ]; then
+ echo -n "Setting current sysctl status from /etc/sysctl.conf"
+ sysctl -e -p /etc/sysctl.conf
+ evaluate_retval
+fi
+
#echo -n "Running ldconfig"
#ldconfig 2>&1 >/dev/null
#evaluate_retval
|