The additional directory is created and can be used e.g. for configurations
which are created e.g. dynamically from an uci config.
Signed-off-by: Helge Mader <redacted>
CONF_FILE="/etc/config/xinetd"
GENERATED_CONF_FILE="/var/run/xinetd.conf"
+OTHER_CONF_DIR="/tmp/xinetd.d"
ServiceEntry="false"
ListName=""
echo "}" >> $GENERATED_CONF_FILE
echo "" >> $GENERATED_CONF_FILE
echo "includedir /etc/xinetd.d" >> $GENERATED_CONF_FILE
+ echo "includedir $OTHER_CONF_DIR" >> $GENERATED_CONF_FILE
config_load xinetd
}
start_service() {
+ mkdir -p $OTHER_CONF_DIR
+
generate_config
procd_open_instance