mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
iup: prevent possible sh warning
This commit is contained in:
parent
3e66393c7b
commit
97ad605a1c
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ init_iup() {
|
|||
*) newreqopts="$newreqopts $ropt" ;;
|
||||
esac
|
||||
done
|
||||
if [ $proto == "dhcp" ]; then
|
||||
if [ "$proto" == "dhcp" ]; then
|
||||
newreqopts="$(echo $newreqopts | tr ' ' '\n' | sort -n | tr '\n' ' ' | sed 's/^[ \t]*//;s/[ \t]*$//')"
|
||||
uci -q set network.wan.reqopts="$newreqopts"
|
||||
uci commit network
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue