From: nbd Date: Fri, 29 Jan 2010 02:17:11 +0000 (+0000) Subject: base-files: do not warn about nonexistant sysctl overrides (some of them are config... X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/01eb76809354996684efb3e4a5d425d2cee15780?ds=sidebyside base-files: do not warn about nonexistant sysctl overrides (some of them are config dependent) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19375 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/base-files/files/etc/init.d/sysctl b/package/base-files/files/etc/init.d/sysctl index 35d5e30c7..239779055 100755 --- a/package/base-files/files/etc/init.d/sysctl +++ b/package/base-files/files/etc/init.d/sysctl @@ -3,5 +3,5 @@ START=99 start() { - [ -f /etc/sysctl.conf ] && sysctl -p >&- + [ -f /etc/sysctl.conf ] && sysctl -p -e >&- }