summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-08-17 18:22:44 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-17 18:22:44 +0000
commitb2f3f8cc7f674402dae1e325a44d44615295fd0d (patch)
treeb26814fa84abd7bc7a1e9fedec2c7e947b2a0dd3 /packages/initscripts/initscripts-1.0
parenta098af2fcdd0a2cdefd7049cdc12a5fda8e46638 (diff)
parentc355755e38003a906085114be463792fd9de4ff8 (diff)
merge of 885d90470dc44f85332ae3b62f38a1f1cf91b4c5
and c9530ced58773f4fa9498d173533e73615774c22
Diffstat (limited to 'packages/initscripts/initscripts-1.0')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/bootmisc.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/bootmisc.sh b/packages/initscripts/initscripts-1.0/bootmisc.sh
index ed46b222d2..814dba676c 100755
--- a/packages/initscripts/initscripts-1.0/bootmisc.sh
+++ b/packages/initscripts/initscripts-1.0/bootmisc.sh
@@ -23,6 +23,20 @@ then
fi
#
+# Apply /proc settings if defined
+#
+SYSCTL_CONF="/etc/sysctl.conf"
+if [ -f "${SYSCTL_CONF}" ]
+then
+ if [ -x "/sbin/sysctl" ]
+ then
+ /sbin/sysctl -p "${SYSCTL_CONF}"
+ else
+ echo "To have ${SYSCTL_CONF} applied during boot, install package <procps>."
+ fi
+fi
+
+#
# Update /etc/motd.
#
if test "$EDITMOTD" != no