aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-10-02 19:47:33 +0000
committerSteven Barth <steven@midlink.org>2014-10-02 19:47:33 +0000
commit2ab44b72d3a32824f79f6ef91744abb0b41aaa19 (patch)
tree6d832e7bf57bf8686faf9bdc0a8f73792f267949 /package
parent7644a744522433a6b80951d6fd37409f7a459ca3 (diff)
downloadupstream-2ab44b72d3a32824f79f6ef91744abb0b41aaa19.tar.gz
upstream-2ab44b72d3a32824f79f6ef91744abb0b41aaa19.tar.bz2
upstream-2ab44b72d3a32824f79f6ef91744abb0b41aaa19.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42751 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/utils/busybox/files/cron2
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