From: Bruce S. <bl...@us...> - 2004-08-02 13:38:33
|
Update of /cvsroot/devil-linux/build/config/etc/init.d In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10174/config/etc/init.d Modified Files: Tag: rel-1-2-patches 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.22.2.1 retrieving revision 1.22.2.2 diff -u -d -r1.22.2.1 -r1.22.2.2 --- boot 2 Jul 2004 01:41:14 -0000 1.22.2.1 +++ boot 2 Aug 2004 13:38:25 -0000 1.22.2.2 @@ -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 |