From 591f6442f02138802ff9576a8c8103a49ef8612c Mon Sep 17 00:00:00 2001 From: root Date: Mon, 30 May 2022 16:09:15 +0200 Subject: [PATCH] Start ignoring backups.log --- ...ewall.2022_05_30_03_41_PM_1653918107.local | 20 -------- ...ewall.2022_05_30_03_42_PM_1653918123.local | 20 -------- ...ewall.2022_05_30_03_42_PM_1653918145.local | 20 -------- ...ewall.2022_05_30_03_46_PM_1653918417.local | 50 ------------------- ...ewall.2022_05_30_03_47_PM_1653918430.local | 20 -------- 5 files changed, 130 deletions(-) delete mode 100644 data/backups/firewall.2022_05_30_03_41_PM_1653918107.local delete mode 100644 data/backups/firewall.2022_05_30_03_42_PM_1653918123.local delete mode 100644 data/backups/firewall.2022_05_30_03_42_PM_1653918145.local delete mode 100755 data/backups/firewall.2022_05_30_03_46_PM_1653918417.local delete mode 100644 data/backups/firewall.2022_05_30_03_47_PM_1653918430.local 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 -- 2.30.2