[package] wview: new package, automated weather station software

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
This commit is contained in:
florian
2012-08-10 15:49:25 +00:00
parent 289047f9bb
commit d41130e70f
4 changed files with 744 additions and 0 deletions

View File

@ -0,0 +1,20 @@
--- 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