plus d'exemples
This commit is contained in:
@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<creole>
|
||||
|
||||
<files>
|
||||
<file filelist="ircd-irc2" name="/usr/share/eole/firewall/00_root_ircd.fw" rm="True"/>
|
||||
<service servicelist='ircd-irc2'>ircd-irc2</service>
|
||||
</files>
|
||||
<variables>
|
||||
<family name="services">
|
||||
<variable name="activate_ircd" description="Activer IRCD" type="oui/non">
|
||||
<value>non</value>
|
||||
</variable>
|
||||
</family>
|
||||
</variables>
|
||||
<constraints>
|
||||
<condition name='hidden_if_in' source='activate_ircd'>
|
||||
<param>non</param>
|
||||
<target type='servicelist'>ircd-irc2</target>
|
||||
<target type='filelist'>ircd-irc2</target>
|
||||
</condition>
|
||||
</constraints>
|
||||
</creole>
|
@ -0,0 +1 @@
|
||||
allow_src(ip='0/0', port="6667")
|
14
modules_EOLE_envole/documents/tronc-commun-2/ircd/160-ircd
Executable file
14
modules_EOLE_envole/documents/tronc-commun-2/ircd/160-ircd
Executable file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /usr/share/eole/FonctionsEoleNg
|
||||
. ParseDico
|
||||
|
||||
EchoGras "*** Serveur IRC"
|
||||
|
||||
if [ "$activate_ircd" = "oui" ]; then
|
||||
TestService IRCD 127.0.0.1:6667
|
||||
else
|
||||
Inactif "IRCD"
|
||||
fi
|
||||
echo
|
||||
exit 0
|
Reference in New Issue
Block a user