[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:
parent
7768edde62
commit
32cf2380ee
6 changed files with 38 additions and 0 deletions
4
Bundler/firewall.xml
Normal file
4
Bundler/firewall.xml
Normal 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
4
Bundler/firewall6.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<Bundle name="firewall6">
|
||||
<Path name="/etc/init.d/firewall6"/>
|
||||
<Action name="link-firewall6"/>
|
||||
</Bundle>
|
12
Cfg/etc/init.d/firewall/firewall
Executable file
12
Cfg/etc/init.d/firewall/firewall
Executable 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 $*
|
3
Cfg/etc/init.d/firewall/info.xml
Normal file
3
Cfg/etc/init.d/firewall/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='root' perms='0755'/>
|
||||
</FileInfo>
|
12
Cfg/etc/init.d/firewall6/firewall6
Executable file
12
Cfg/etc/init.d/firewall6/firewall6
Executable 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 $*
|
3
Cfg/etc/init.d/firewall6/info.xml
Normal file
3
Cfg/etc/init.d/firewall6/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='root' perms='0755'/>
|
||||
</FileInfo>
|
Loading…
Add table
Add a link
Reference in a new issue