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
lede-17.01
Steven Barth 2014-10-02 19:47:33 +00:00
parent e15f03e5de
commit 3cdeac4173
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ start_service () {
loglevel=$(uci_get "system.@system[0].cronloglevel") loglevel=$(uci_get "system.@system[0].cronloglevel")
[ -z "${loglevel}" ] || { [ -z "${loglevel}" ] || {
/sbin/validate_data uinteger "${loglevel}" /sbin/validate_data uinteger "${loglevel}" 2>/dev/null
[ "$?" -eq 0 ] || { [ "$?" -eq 0 ] || {
echo "validation failed" echo "validation failed"
return 1 return 1