diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-10-02 19:47:33 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-10-02 19:47:33 +0000 |
commit | 3cdeac41739a9bd720a279c07f8ec0895473ec68 (patch) | |
tree | 0a6aa5d06fba5b5e583eb9c0ff672eb067720c04 /package/utils | |
parent | e15f03e5de8a0a9258fb332e7e9dfff2ec89ea0f (diff) | |
download | upstream-3cdeac41739a9bd720a279c07f8ec0895473ec68.tar.gz upstream-3cdeac41739a9bd720a279c07f8ec0895473ec68.tar.bz2 upstream-3cdeac41739a9bd720a279c07f8ec0895473ec68.zip |
busybox: remove validation message from bootup
A message:
uinteger - 9 = true
is displayed during boot. This is the result of the validate_data
command checking the cron log level. As the output is not
interesting, only the result, filter...
Signed-off-by: Michel Stam <m.stam@fugro.nl>
SVN-Revision: 42751
Diffstat (limited to 'package/utils')
-rwxr-xr-x | package/utils/busybox/files/cron | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/busybox/files/cron b/package/utils/busybox/files/cron index 8f54527805..19ecc43173 100755 --- a/package/utils/busybox/files/cron +++ b/package/utils/busybox/files/cron @@ -17,7 +17,7 @@ start_service () { loglevel=$(uci_get "system.@system[0].cronloglevel") [ -z "${loglevel}" ] || { - /sbin/validate_data uinteger "${loglevel}" + /sbin/validate_data uinteger "${loglevel}" 2>/dev/null [ "$?" -eq 0 ] || { echo "validation failed" return 1 |