Configuration
4.17 Scripts
4.17 Scripts
There is possibility to create your own shell scripts executed in the specific situations. Go
to the
Scripts
page in the
Configuration
section in the menu. The menu item will expand and
there are
Startup Script
,
Up/Down IPv4
and
Up/Down IPv6
scripts you can use – there is IPv4
and IPv6 independent dual stack. For more examples of Scripts and possible commands see
the "Commands and Scripts" application note. You can download the PDF on the Internet at:
https://www.doc.hirschmann.com
4.17.1 Startup Script
Use the
Startup Script
window to create your own scripts which will be executed after all of
the initialization scripts are run – right after the router is turned on or rebooted. The changes in
settings will apply after pressing the
Apply
button.
Any changes to the
Startup Script
will take effect the next time the router is power cycled
or rebooted. This can be done with the
Reboot
button in the
Administration
section, or by
SMS message.
4.17.2 Example of Startup Script
Figure 66: Example of a Startup Script
When the router starts up, stop syslogd program and start syslogd with remote logging on
address 192.168.2.115 and limited to 100 entries. Add these lines to the
Startup Script
:
killall syslogd
syslogd -R 192.168.2.115 -S 100
118
UM Configuration OWL LTE M12
Rel. 06.1.09 - 07/2019
Summary of Contents for Hirschmann OWL LTE M12
Page 153: ......