slitaz-boot-scripts rev 322
network.sh: read /etc/sysctl.conf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 04 18:43:54 2012 +0100 (2012-12-04) |
parents | f637482683e2 |
children | 445b02a1da07 |
files | etc/init.d/network.sh |
line diff
1.1 --- a/etc/init.d/network.sh Thu Oct 18 18:20:28 2012 +0200 1.2 +++ b/etc/init.d/network.sh Tue Dec 04 18:43:54 2012 +0100 1.3 @@ -22,6 +22,8 @@ 1.4 /sbin/ifconfig lo 127.0.0.1 up 1.5 /sbin/route add 127.0.0.1 lo 1.6 status 1.7 + 1.8 + [ -s /etc/sysctl.conf ] && sysctl -p /etc/sysctl.conf 1.9 } 1.10 1.11 # Use ethernet