mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42751 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7644a74452
commit
2ab44b72d3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user