From c58efe7698f61a0edf1a7c5ec1b625fdf6bdda19 Mon Sep 17 00:00:00 2001 From: Matt Darfeuille Date: Mon, 20 Feb 2017 18:52:00 +0100 Subject: [PATCH] Unify the uninstallers - Clean up code - Use the .service suffix Signed-off-by: Matt Darfeuille Signed-off-by: Tom Eastep --- Shorewall-core/uninstall.sh | 55 ++++++++++++++++++++++++++++++------ Shorewall-init/uninstall.sh | 44 +++++++++++++++++------------ Shorewall-lite/uninstall.sh | 32 +++++++++++++-------- Shorewall/uninstall.sh | 34 +++++++++++----------- Shorewall6-lite/uninstall.sh | 36 +++++++++++++++-------- Shorewall6/uninstall.sh | 33 ++++++++++++++-------- 6 files changed, 157 insertions(+), 77 deletions(-) diff --git a/Shorewall-core/uninstall.sh b/Shorewall-core/uninstall.sh index ef0f3dd8c..bef7ce1ad 100755 --- a/Shorewall-core/uninstall.sh +++ b/Shorewall-core/uninstall.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Script to back uninstall Shoreline Firewall +# Script to back uninstall Shoreline Firewall Core Modules # # (c) 2000-2016 - Tom Eastep (teastep@shorewall.net) # @@ -26,14 +26,17 @@ # You may only use this script to uninstall the version # shown below. Simply run this script to remove Shorewall Firewall -VERSION=xxx #The Build script inserts the actual version -PRODUCT="shorewall-core" +VERSION=xxx # The Build script inserts the actual version +PRODUCT=shorewall-core Product="Shorewall Core" - + usage() # $1 = exit status { ME=$(basename $0) - echo "usage: $ME [ ]" + echo "usage: $ME [