I have two uci-defaults scripts, but it doesn't work
#!/bin/sh
[ "$(uci -q get system.@system[0].hostname)" = "FoxHole" ] && exit 0
uci -q batch << EOF
set system.@system[0].hostname="FoxHole"
commit system
EOF
exit 0
#!/bin/sh
if grep -q "Freedom for foxes!" /etc/banner; then
exit 0
fi
echo "" > /etc/banner
cat << EOF > /etc/banner
▄████████ ▄██████▄ ▀████ ▐████▀ ▄█ █▄ ▄██████▄ ▄█ ▄████████
███ ███ ███ ███ ███▌ ████▀ ███ ███ ███ ███ ███ ███ ███
███ █▀ ███ ███ ███ ▐███ ███ ███ ███ ███ ███ ███ █▀
▄███▄▄▄ ███ ███ ▀███▄███▀ ▄███▄▄▄▄███▄▄ ███ ███ ███ ▄███▄▄▄
▀▀███▀▀▀ ███ ███ ████▀██▄ ▀▀███▀▀▀▀███▀ ███ ███ ███ ▀▀███▀▀▀
███ ███ ███ ▐███ ▀███ ███ ███ ███ ███ ███ ███ █▄
███ ███ ███ ▄███ ███▄ ███ ███ ███ ███ ███▌ ▄ ███ ███
███ ▀██████▀ ████ ███▄ ███ █▀ ▀██████▀ █████▄▄██ ██████████
▀
Freedom for foxes!
---------------------------------------------------------------------------------------
%D %V, %C
---------------------------------------------------------------------------------------
EOF
exit 0
Why?