From: Steven Barth Date: Thu, 2 Oct 2014 19:47:33 +0000 (+0000) Subject: busybox: remove validation message from bootup X-Git-Tag: reboot~5787 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3cdeac41739a9bd720a279c07f8ec0895473ec68;p=openwrt%2Fstaging%2Fchunkeey.git 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 SVN-Revision: 42751 --- 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