Services
Location information
LR54 User Guide
655
ii. Add the action:
(config)> add service location geofence test_geofence on_
entry action end
(config service location geofence test_geofence on_entry
action 0)>
d. Set the type of action:
(config service location geofence test_geofence on_entry action
0)> type
value
(config service location geofence test_geofence on_entry action
0)>
where
value
is either:
l
factory_erase
—Erases the device configuration when the action is triggered.
l
script
—Executes a custom script when the action is triggered.
factory_erase
or
script
.
If
type
is set to
script
:
i. Type or paste the script, closed in quote marks:
(config service location geofence test_geofence on_entry
action 0)> commands "
script
"
(config service location geofence test_geofence on_entry
action 0)>
If the script begins with
#!
, then the proceeding file path will be used to invoke
the script interpreter. If not, then the default shell will be used.
ii. To log the output of the script to the
(config service location geofence test_geofence on_entry
action 0)> syslog_stdout true
(config service location geofence test_geofence on_entry
action 0)>
iii. To log the errors from the script to the
:
(config service location geofence test_geofence on_entry
action 0)> syslog_stderr true
(config service location geofence test_geofence on_entry
action 0)>
iv. (Optional) Set the maximum amount of system memory that will be available
for the script and it spawned processes:
(config service location geofence test_geofence on_entry
action 0)> max_memory
value
(config service location geofence test_geofence on_entry
action 0)>
Содержание TransPort LR54
Страница 1: ...LR54 User Guide Firmware version 22 8 ...
Страница 506: ...Virtual Private Networks VPN OpenVPN LR54 User Guide 506 5 Click Apply to save the configuration and apply the change ...
Страница 628: ...Services Simple Network Management Protocol SNMP LR54 User Guide 628 The SNMP page is displayed 4 Click Download ...
Страница 1050: ...Command line interface Execute a command from the web interface LR54 User Guide 1050 The Admin CLI prompt appears ...
Страница 1095: ...Command line interface Command line reference LR54 User Guide 1095 reboot Reboot the system Parameters None ...