mirror of https://github.com/aredn/aredn.git
bugfix: test/update grid square to message appears when appropriate
This commit is contained in:
parent
2bbcb1598f
commit
e1d4c82256
|
@ -443,8 +443,11 @@ foreach(`zcat /etc/opkg.list.gz 2>/dev/null`)
|
|||
#
|
||||
if($parms{button_location})
|
||||
{
|
||||
system "echo '$parms{gridsquare}' > /etc/gridsquare" if $parms{gridsquare};
|
||||
push @loc_output, "Gridsquare updated.\n";
|
||||
if($parms{gridsquare})
|
||||
{
|
||||
system "echo '$parms{gridsquare}' > /etc/gridsquare" if $parms{gridsquare};
|
||||
push @loc_output, "Gridsquare updated.\n";
|
||||
}
|
||||
if($parms{latitude} and $parms{longitude})
|
||||
{
|
||||
system "echo '$parms{latitude}' > /etc/latlon";
|
||||
|
|
Loading…
Reference in New Issue