Browse Source

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 <[email protected]>

SVN-Revision: 42755
Steven Barth 11 years ago
parent
commit
8a971b2770
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/base-files/files/etc/uci-defaults/12_network-generate-ula

+ 1 - 1
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"')