diff options
| -rwxr-xr-x | meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh index 3b5a47fcdd..5211824ade 100755 --- a/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh +++ b/meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh | |||
| @@ -36,7 +36,12 @@ if [ -f "${SYSCTL_CONF}" ] | |||
| 36 | then | 36 | then |
| 37 | if [ -x "/sbin/sysctl" ] | 37 | if [ -x "/sbin/sysctl" ] |
| 38 | then | 38 | then |
| 39 | /sbin/sysctl -p "${SYSCTL_CONF}" | 39 | # busybox sysctl does not support -q |
| 40 | VERBOSE_REDIR="1>/dev/null" | ||
| 41 | if [ "${VERBOSE}" != "no" ]; then | ||
| 42 | VERBOSE_REDIR="1>&1" | ||
| 43 | fi | ||
| 44 | eval /sbin/sysctl -p "${SYSCTL_CONF}" $VERBOSE_REDIR | ||
| 40 | else | 45 | else |
| 41 | echo "To have ${SYSCTL_CONF} applied during boot, install package <procps>." | 46 | echo "To have ${SYSCTL_CONF} applied during boot, install package <procps>." |
| 42 | fi | 47 | fi |
