1 |
> I've got my own iptables script to launch a customized firewall, located in |
2 |
> /usr/local/bin. |
3 |
> |
4 |
> I'm aware of /etc/init.d/iptables the 'runscipt'. I do not wish to edit this |
5 |
> scipt as 'gentoo' updates nuke my edits therein. Where is the gentoo |
6 |
> place of preference to launch my scipt after the gentoo runscipt |
7 |
> '/etc/init.d/iptables' is finished running? |
8 |
> |
9 |
> Is their a way to get 'rc-update add <my_firewall> default' to launch |
10 |
> my_firewall without putting it in the /etc/init.d/ dir and using the |
11 |
> runscipt template for my script? |
12 |
> |
13 |
> thoughts, suggestions and examples are most welcome. |
14 |
|
15 |
|
16 |
Keep your script in /etc and run it once. |
17 |
If you have SAVE_ON_STOP="yes" in /etc/conf.d/iptables |
18 |
your rules will be restored whenever you restart iptables. |
19 |
|
20 |
HTH, |
21 |
Sasha |
22 |
|
23 |
-- |
24 |
gentoo-user@g.o mailing list |