DGN3500 amod version >=12.0.3 user files ======================================== /etc/amod/conf/over ------------------- this directory is copied over /etc at boot, so that the user may change whatever he/she wants in /etc; f.e. if you want to use your own version of /etc/amod/init.d/sshd, put your sshd executable (chmod +x) sshd script in /etc/amod/conf/over/amod/init.d /etc/amod/conf/rcSt ------------------- this script is called at boot time: rcS exits and the script takes over the boot process; only for expert users; check in /etc/rcS where is called and what it is done AFTER that point /etc/amod/conf/rcS1 ------------------- this script is executed at boot time BEFORE the dsl is inited /etc/amod/conf/rcS2 ------------------- this script is called at the end of the boot process /etc/amod/conf/firewall.user ---------------------------- this is a very important script: this script is called anytime something happens to the firewall, expecially when WAN goes up or down; it is called with arguments: 1. wan name 2. wan ip or -1 if down 3. wan mask 4. lan name 5. lan ip 6. lan mask THERE is where the user must add his/her iptables rules and stuff like those. /etc/amod/conf/wan.user ----------------------- this script is called with arguments up or down anytime the wan goes up or down; note that if "WAN/Advanced/Use amod pppd mechanism" is not enabled, it is called ONLY when WAN goes up /etc/amod/conf/env.user ----------------------- this is sourced in /etc/profile to set up the environment for the ash shell /etc/amod/conf/dnsmasq.start ---------------------------- this script is called BEFORE dnsmasq is launched /etc/amod/conf/dnsmasq.fire --------------------------- /etc/amod/conf/limqos.usr ------------------------- this script is called when the limiter QoS is launched to let the user add his/her own rules /etc/amod/conf/usb.usr ---------------------- this script is called anytime something happens about the USB /etc/amod/conf/userCMV ----------------------