5.1.6.1.1. Procedure – Creating interface activation scripts
Purpose:
To create an interface activation script for an interface, complete the following steps.
Steps:
Navigate to
and select the interface to configure.To add a new option to the interface, click
.From the
field, select the type of the script (pre-up
,up
,post-up
,pre-down
,down
,post-down
).Enter the command to execute in the script into the
field. Use full path name, for example,/sbin/ifdown
.To execute multiple commands, repeat Steps 2-4.
To set the order of commands, use the arrow buttons below the list of options.
Tip If you have to use complex scripts, create a script file on the PNS host using a text editor, and add an option to run it when needed.
Published on June 04, 2020
© 2007-2019 BalaSys
Send your comments to support@balasys.hu