[Bundler/firewall.xml,Bundler/firewall6.xml,etc/init.d/firewall6,etc/init.d/firewall] init script pour le firewall

Ignore-this: 4dffe0e36a098effec611ac9431ef44d

darcs-hash:20130118005351-3a55a-db4a0d1d9a46f2f1cbdd64674cd06321772df318.gz
This commit is contained in:
Valentin Samir 2013-01-18 01:53:51 +01:00
parent 7768edde62
commit 32cf2380ee
6 changed files with 38 additions and 0 deletions

4
Bundler/firewall.xml Normal file
View file

@ -0,0 +1,4 @@
<Bundle name="firewall">
<Path name="/etc/init.d/firewall"/>
<Action name="link-firewall"/>
</Bundle>

4
Bundler/firewall6.xml Normal file
View file

@ -0,0 +1,4 @@
<Bundle name="firewall6">
<Path name="/etc/init.d/firewall6"/>
<Action name="link-firewall6"/>
</Bundle>

View file

@ -0,0 +1,12 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: firewall
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: IPv4 Firewall
# Description: Firewall for IPv4 interfaces.
### END INIT INFO
exec /usr/bin/python /usr/scripts/gestion/gen_confs/firewall.py $*

View file

@ -0,0 +1,3 @@
<FileInfo>
<Info owner='root' group='root' perms='0755'/>
</FileInfo>

View file

@ -0,0 +1,12 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: firewall6
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: IPv6 Firewall
# Description: Firewall for IPv6 interfaces.
### END INIT INFO
exec /usr/bin/python /usr/scripts/gestion/gen_confs/firewall6.py $*

View file

@ -0,0 +1,3 @@
<FileInfo>
<Info owner='root' group='root' perms='0755'/>
</FileInfo>