diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-10-03 10:56:43 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-10-03 10:56:43 +0000 |
commit | 8a971b277071a18ab032a841bda8b30758f647d2 (patch) | |
tree | 3018dec23ca963b429f7f4f35779dc619feab941 /package/base-files/files | |
parent | 7436b1707581de23fda5d9ec16c0beecbe0a7056 (diff) | |
download | upstream-8a971b277071a18ab032a841bda8b30758f647d2.tar.gz upstream-8a971b277071a18ab032a841bda8b30758f647d2.tar.bz2 upstream-8a971b277071a18ab032a841bda8b30758f647d2.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>
SVN-Revision: 42755
Diffstat (limited to 'package/base-files/files')
-rw-r--r-- | package/base-files/files/etc/uci-defaults/12_network-generate-ula | 2 |
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"') |