base-files: remove a 'not found' error message during system boot
[openwrt/staging/chunkeey.git] / package / base-files / files / etc / uci-defaults / 12_network-generate-ula
index 56b7eb3574f59a6f3334fec8306d15148f673e47..8871427c60de7673021f345c54678240486904c2 100644 (file)
@@ -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"')