d41130e70f
This is runtime tested on a MIPS-based DIR-620 with a simulator station. Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/packages@33083 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
580 B
Diff
21 lines
580 B
Diff
--- a/wviewconfig/wviewconfig.sh
|
|
+++ b/wviewconfig/wviewconfig.sh
|
|
@@ -206,7 +206,7 @@ get_wview_conf_interactive()
|
|
cd $WVIEW_CONF_DIR
|
|
|
|
# Edit parms one at a time:
|
|
- gawk -F"|" '{
|
|
+ awk -F"|" '{
|
|
sysstring=sprintf("./editparm \"%s\" \"%s\" \"%s\" \"%s\"", $1, $2, $3, $4)
|
|
system(sysstring)
|
|
}' $WVIEW_CONF_DIR/parms.out
|
|
@@ -234,7 +234,7 @@ set_config_from_file()
|
|
cd $WVIEW_CONF_DIR
|
|
|
|
# Update parms one at a time:
|
|
- gawk -F"=" '{
|
|
+ awk -F"=" '{
|
|
sysstring=sprintf("./updateparm \"%s\" \"%s\"", $1, $2)
|
|
system(sysstring)
|
|
}' $SET_FILE
|