summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-08-15 18:59:01 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-15 18:59:01 +0000
commit4eddaed4476f9768827c89933ca3581612bbc1a9 (patch)
tree7f4b2ada5cf98960fd7b5c436ff606d464af7df9 /packages
parent2b48a44ccb6909d15f37a4be9dbb0448ca9e1845 (diff)
Add support for /etc/sysctl.conf .
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/bootmisc.sh14
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 15 insertions, 1 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
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index 99b2a7dfbd..d2160c0e29 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -6,7 +6,7 @@ DEPENDS = "makedevs"
DEPENDS_openzaurus = "makedevs virtual/kernel"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r54"
+PR = "r55"
SRC_URI = "file://halt \
file://ramdisk \