From 1ee3d3d81034c2e2d8c1bf55db8963a50e35f363 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 11 Mar 2011 00:47:28 -0500 Subject: Added os_config and support for including additional configuration files. --- data/example.conf | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/example.conf b/data/example.conf index c797a2f84..783c1fb14 100644 --- a/data/example.conf +++ b/data/example.conf @@ -724,7 +724,7 @@ log * operserv/global operserv/news operserv/stats operserv/kick * operserv/mode operserv/session operserv/modlist operserv/ignore * operserv/chankill operserv/akill operserv/sqline operserv/snline - * operserv/szline operserv/staff operserv/defcon + * operserv/szline operserv/staff operserv/defcon operserv/config * operserv/modload operserv/jupe operserv/set operserv/noop * operserv/quit operserv/update operserv/reload operserv/restart * operserv/shutdown operserv/svsnick operserv/oline @@ -1493,7 +1493,7 @@ operserv * * This directive is optional, but highly recommended. */ - modules = "os_help os_global os_stats os_staff os_mode os_kick os_akill os_snline os_sqline os_szline os_chanlist os_userlist os_news os_session os_noop os_jupe os_ignore os_set os_reload os_update os_restart os_quit os_shutdown os_defcon os_chankill os_svsnick os_oline os_modload os_modunload os_modreload os_modlist os_modinfo" + modules = "os_help os_global os_stats os_staff os_mode os_kick os_akill os_snline os_sqline os_szline os_chanlist os_userlist os_news os_session os_noop os_jupe os_ignore os_set os_reload os_update os_restart os_quit os_shutdown os_defcon os_chankill os_svsnick os_oline os_modload os_modunload os_modreload os_modlist os_modinfo os_config" /* * If set, Services Admins will be able to use SUPERADMIN [ON|OFF] which will temporarily grant @@ -1772,6 +1772,24 @@ defcon #akillreason = "This network is currently not accepting connections, please try again later" } +/* + * [OPTIONAL] Additional includes + * + * You can include additional configuration files here. + * You may also include executable files, which will be executed and + * the output from it will be included into your configuration. + */ +include +{ + #type = "file" + #name = "some_other.conf" +} +include +{ + #type = "executable" + #name = "/usr/bin/wget -q -O - http://some.miconfigured.network.com/services.conf" +} + /* * [OPTIONAL] Non-Core Modules * -- cgit