--- trunk/iptables/iptables.sh 2012/01/12 12:19:29 1610 +++ trunk/iptables/iptables.sh 2012/03/13 09:12:17 1698 @@ -8,6 +8,7 @@ IPTABLES_SAVE=/sbin/iptables-save IPTABLES_RESTORE=/sbin/iptables-restore IPTABLES_PROC=/proc/net/ip_tables_names +SYSTEMDLIBDIR=/usr/lib/systemd # read config source /etc/conf.d/${SVC_NAME} @@ -17,7 +18,7 @@ if [[ ! -f ${IPTABLES_SAVE_PATH} ]] then echo "Not starting ${SVC_NAME}. First create some rules then run:" - echo "/etc/init.d/${SVC_NAME} save" + echo "${SYSTEMDLIBDIR}/magellan-${SVC_NAME} save" exit 1 fi return 0