Skip to content
Snippets Groups Projects
Commit 8a971b27 authored by Steven Barth's avatar Steven Barth
Browse files

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: default avatarMichel Stam <m.stam@fugro.nl>

SVN-Revision: 42755
parent 7436b170
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/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"') 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"') r2=$(dd if=/dev/urandom bs=2 count=1 |hexdump -e '2/1 "%02x"')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment