Applications Show script information
Digi Connect IT® 16/48 User Guide
487
Show script information
You can view status and statistics about location information from either the WebUI or the command
line.
WebUI
1. Log into the Connect IT 16/48 WebUI as a user with Admin access.
2. At the Status page, click Scripts.
The Scripts page displays:
Command line
1. Log into the Connect IT 16/48 command line as a user with Admin access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type admin to access the Admin CLI.
2. Use the show scripts command at the system prompt:
> show scripts
Index Label Script Enabled Status Run time
----- --------------- ------ ------- ------ --------
0 mgmt_intf_fixup #!/bin/sh -x
send_mgmt_intf_update() {
pri="$(runt get network.mgmt.log.default)"
if [ "$pri" = 'pri' ]; then
default_net="$(runt dump network.route.default | grep -m 1 -o
"interface_.*=" | cut -f2 -d'_' | tr -d '=')"
if [ -n "$default_net" ]; then
default_intf="$(runt get network.interface.${default_net}.device)"
runt set network.mgmt.log.intf "$default_intf"
fi
log=$(runt log network.mgmt.log)
accns_log network_mgmt "${log:+type=mgmt~}$log"
fi
}
...
>