diff options
author | Rene Wagner <rw@handhelds.org> | 2005-08-17 18:22:44 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-17 18:22:44 +0000 |
commit | b2f3f8cc7f674402dae1e325a44d44615295fd0d (patch) | |
tree | b26814fa84abd7bc7a1e9fedec2c7e947b2a0dd3 /packages/initscripts/initscripts-1.0 | |
parent | a098af2fcdd0a2cdefd7049cdc12a5fda8e46638 (diff) | |
parent | c355755e38003a906085114be463792fd9de4ff8 (diff) |
merge of 885d90470dc44f85332ae3b62f38a1f1cf91b4c5
and c9530ced58773f4fa9498d173533e73615774c22
Diffstat (limited to 'packages/initscripts/initscripts-1.0')
-rwxr-xr-x | packages/initscripts/initscripts-1.0/bootmisc.sh | 14 |
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 |