From: root Date: Mon, 30 May 2022 14:09:15 +0000 (+0200) Subject: Start ignoring backups.log X-Git-Url: https://git.monkeycat.nl/?a=commitdiff_plain;h=HEAD;p=IPFireCustomRules.git Start ignoring backups.log --- diff --git a/data/backups/firewall.2022_05_30_03_41_PM_1653918107.local b/data/backups/firewall.2022_05_30_03_41_PM_1653918107.local deleted file mode 100644 index 5e4677f..0000000 --- a/data/backups/firewall.2022_05_30_03_41_PM_1653918107.local +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Used for private firewall rules - -# See how we were called. -case "$1" in - start) - ## add your 'start' rules here - ;; - stop) - ## add your 'stop' rules here - ;; - reload) - $0 stop - $0 start - ## add your 'reload' rules here - ;; - *) - echo "Usage: $0 {start|stop|reload}" - ;; -esac diff --git a/data/backups/firewall.2022_05_30_03_42_PM_1653918123.local b/data/backups/firewall.2022_05_30_03_42_PM_1653918123.local deleted file mode 100644 index 5e4677f..0000000 --- a/data/backups/firewall.2022_05_30_03_42_PM_1653918123.local +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Used for private firewall rules - -# See how we were called. -case "$1" in - start) - ## add your 'start' rules here - ;; - stop) - ## add your 'stop' rules here - ;; - reload) - $0 stop - $0 start - ## add your 'reload' rules here - ;; - *) - echo "Usage: $0 {start|stop|reload}" - ;; -esac diff --git a/data/backups/firewall.2022_05_30_03_42_PM_1653918145.local b/data/backups/firewall.2022_05_30_03_42_PM_1653918145.local deleted file mode 100644 index 5e4677f..0000000 --- a/data/backups/firewall.2022_05_30_03_42_PM_1653918145.local +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Used for private firewall rules - -# See how we were called. -case "$1" in - start) - ## add your 'start' rules here - ;; - stop) - ## add your 'stop' rules here - ;; - reload) - $0 stop - $0 start - ## add your 'reload' rules here - ;; - *) - echo "Usage: $0 {start|stop|reload}" - ;; -esac diff --git a/data/backups/firewall.2022_05_30_03_46_PM_1653918417.local b/data/backups/firewall.2022_05_30_03_46_PM_1653918417.local deleted file mode 100755 index 273dab3..0000000 --- a/data/backups/firewall.2022_05_30_03_46_PM_1653918417.local +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/sh -# -# IPFire Custom Firewall (icf) -# -# Github: https://github.com/Mnkey -# -# Loops over the local "rules.d/" subfolder files -# Forwarding the (start/stop) command to every file -# which extension is ".on". To enabled multiple -# custom firewall rulesets! -# -# the configuration of the ipfire custom rules (ipfcr) -# in the local "rules.d/*" sunfolder, is inside the -# files themself! -# -# Use this at your OWN RISK. Not fully supported! -# -# License: GPL2 -# -# icf v0.1 (c) 30 May 2022 code.monkeycat.com -# -# Nuff text... - -pwd=$PWD -base=${PWD%/*/*} - -case "$1" in - start) - find $base/rules.d/ -maxdepth 1 -type f \( ! -name . \) -exec bash -c "{} $1" \; - - ;; - stop) - find $base/rules.d/ -maxdepth 1 -type f \( ! -name . \) -exec bash -c "{} $1" \; - - ;; - reload) - $0 stop - $0 start - - ;; - flush) - iptables -t nat -F CUSTOMPREROUTING - iptables -t nat -F CUSTOMPOSTROUTING - iptables -F CUSTOMFORWARD - - ;; - *) - echo "Usage: $0 {start|stop|reload|flush}" - ;; -esac diff --git a/data/backups/firewall.2022_05_30_03_47_PM_1653918430.local b/data/backups/firewall.2022_05_30_03_47_PM_1653918430.local deleted file mode 100644 index 5e4677f..0000000 --- a/data/backups/firewall.2022_05_30_03_47_PM_1653918430.local +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh -# Used for private firewall rules - -# See how we were called. -case "$1" in - start) - ## add your 'start' rules here - ;; - stop) - ## add your 'stop' rules here - ;; - reload) - $0 stop - $0 start - ## add your 'reload' rules here - ;; - *) - echo "Usage: $0 {start|stop|reload}" - ;; -esac