From 8a570912cebc1e549fc78ef6ef0a0eaedc9bac40 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Wed, 24 Aug 2022 00:43:30 +0100 Subject: [PATCH] Add copyright notice. Minor corrections. --- rc.d/rc.firewall | 6 +++++- rc.d/rc.firewall-complete | 6 +++++- rc.d/rc.firewall-float | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/rc.d/rc.firewall b/rc.d/rc.firewall index ae62580..d86171d 100755 --- a/rc.d/rc.firewall +++ b/rc.d/rc.firewall @@ -1,4 +1,8 @@ #!/bin/bash +# Version: 0.2.0 +# Copyright (c) 2022: +# Darren 'Tadgy' Austin +# Licensed under the terms of the GNU General Public License version 3. # The name of the main external interface. EX_IF="eth0" @@ -150,7 +154,7 @@ case "$1" in start_firewall ;; *) - echo "Usage: $BASH_SOURCE " >&2 + echo "Usage: ${BASH_SOURCE[0]} " >&2 exit 1 ;; esac diff --git a/rc.d/rc.firewall-complete b/rc.d/rc.firewall-complete index 456182c..4cfb921 100755 --- a/rc.d/rc.firewall-complete +++ b/rc.d/rc.firewall-complete @@ -1,4 +1,8 @@ #!/bin/bash +# Version: 0.2.0 +# Copyright (c) 2022: +# Darren 'Tadgy' Austin +# Licensed under the terms of the GNU General Public License version 3. # The name of the main external interface. EX_IF="eth0" @@ -202,7 +206,7 @@ case "$1" in start_firewall ;; *) - echo "Usage: $BASH_SOURCE " >&2 + echo "Usage: ${BASH_SOURCE[0]} " >&2 exit 1 ;; esac diff --git a/rc.d/rc.firewall-float b/rc.d/rc.firewall-float index ca76259..ed5cc00 100755 --- a/rc.d/rc.firewall-float +++ b/rc.d/rc.firewall-float @@ -1,4 +1,8 @@ #!/bin/bash +# Version: 0.2.0 +# Copyright (c) 2022: +# Darren 'Tadgy' Austin +# Licensed under the terms of the GNU General Public License version 3. # The name of the main external interface. EX_IF="eth0" @@ -184,7 +188,7 @@ case "$1" in start_firewall ;; *) - echo "Usage: $BASH_SOURCE " >&2 + echo "Usage: ${BASH_SOURCE[0]} " >&2 exit 1 ;; esac