summaryrefslogtreecommitdiff
path: root/ipmasq/rules/ZZZ|Lipac.rul
diff options
context:
space:
mode:
Diffstat (limited to 'ipmasq/rules/ZZZ|Lipac.rul')
-rw-r--r--ipmasq/rules/ZZZ|Lipac.rul12
1 files changed, 12 insertions, 0 deletions
diff --git a/ipmasq/rules/ZZZ|Lipac.rul b/ipmasq/rules/ZZZ|Lipac.rul
new file mode 100644
index 0000000..544570f
--- /dev/null
+++ b/ipmasq/rules/ZZZ|Lipac.rul
@@ -0,0 +1,12 @@
+# /etc/ipmasq/rules/ZZZ|L_ipac.rul
+#
+# Restarting IP-ACCOUNTING.
+# Very last rule in the ipmasq chain.
+#
+# To speed-up the system start-up don't check at boot time.
+[ ! $runlevel ] && for SCRIPT in /etc/init.d/ipac /etc/init.d/ipac-ng;do
+ test -s $SCRIPT && if [ "$SHOWRULES" = "yes" ]
+ then echo $SCRIPT force-reload;else $SCRIPT force-reload 2> /dev/null
+ fi
+done
+