aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-10-03 10:56:43 +0000
committerSteven Barth <steven@midlink.org>2014-10-03 10:56:43 +0000
commit956a14a1b2ea557ce8ae9affb3426f1acef24867 (patch)
tree0b61c01a5a9dc5f3a3d79f3f5adbc918ff10f32d /package/base-files
parent132a7fda2cae17800fb149b7fb470a4cc7bef0c2 (diff)
downloadupstream-956a14a1b2ea557ce8ae9affb3426f1acef24867.tar.gz
upstream-956a14a1b2ea557ce8ae9affb3426f1acef24867.tar.bz2
upstream-956a14a1b2ea557ce8ae9affb3426f1acef24867.zip
base-files: remove a 'not found' error message during system boot
During boot, a not found message is displayed for systems which do not have uci 'network.globals.ula_prefix' defined in /etc/config/network. The error message itself is not used and can be ignored. Signed-off-by: Michel Stam <m.stam@fugro.nl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42755 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/etc/uci-defaults/12_network-generate-ula2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/etc/uci-defaults/12_network-generate-ula b/package/base-files/files/etc/uci-defaults/12_network-generate-ula
index 56b7eb3574..8871427c60 100644
--- a/package/base-files/files/etc/uci-defaults/12_network-generate-ula
+++ b/package/base-files/files/etc/uci-defaults/12_network-generate-ula
@@ -1,6 +1,6 @@
#!/bin/sh
-[ "$(uci get network.globals.ula_prefix)" != "auto" ] && exit 0
+[ "$(uci -q get network.globals.ula_prefix)" != "auto" ] && exit 0
r1=$(dd if=/dev/urandom bs=1 count=1 |hexdump -e '1/1 "%02x"')
r2=$(dd if=/dev/urandom bs=2 count=1 |hexdump -e '2/1 "%02x"')