www.digi.com
  Advanced Search
Product Selector
     
  Technical Support
Drivers

Firmware Upgrades

FAQs

Product Documentation

Cabling

Support Tools

Legacy Products

About Digi Support

Knowledge Base

Online Support Request

FTP Site



Related Links
Inside Out Networks


 
Solutions Partners Support and Training Corporate Info Where to Buy Order Where to Buy Site Map Contact Us
Home > Support >kbase >
Creating scripts that run during boot after the network is up.
Creating scripts that run during boot after the network is up. Creating scripts that run during boot after the network is up.

  • Create a new script file '/usr2/run.user' which includes the commands you want. Example:
    iptables -A INPUT -p tcp --dport 23 -j DROP

  • Run the following command to make the script executable
    chmod 755 /usr2/run.user

  • Add the following command in the '/usr2/rc.user' script, just above "exit 0"
    ln -s /usr2/run.user /etc/rc.d/rc2.d/S60runuser

If you factory default the unit, the '/usr2/rc.user' script file is moved to '/usr2/rc.user.old#' and the default rc.user file will be restored.  

solutions | partner programs | corporate info | support and training | where to buy
site map | contact us | press releases |
events | promotions | advertising

Copyright © 1996-2001 Digi International. All rights reserved.