From 26ba827751425378b64becd677ed86da0f4d2d96 Mon Sep 17 00:00:00 2001 From: Christophe Van Reusel Date: Sat, 20 Jan 2024 12:14:58 +0100 Subject: [PATCH 1/8] Minor fix boot-shutdown.sh The trap command does not work for SIGKILL Just removed the line. On branch master Changes to be committed: modified: boot-shutdown.sh --- boot-shutdown.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/boot-shutdown.sh b/boot-shutdown.sh index 716f898..4e33d5f 100755 --- a/boot-shutdown.sh +++ b/boot-shutdown.sh @@ -25,7 +25,6 @@ function startup() } trap shutdown SIGTERM -trap shutdown SIGKILL startup; From c945b4b929bb80b467cfb1e9f015c34f21d253af Mon Sep 17 00:00:00 2001 From: Christophe Van Reusel Date: Mon, 22 Jan 2024 18:21:57 +0100 Subject: [PATCH 2/8] Added a automated Install/Uninstall file With the install.sh this script can be Installed and or Uninstalled Will update the README on how to use later on. On branch experimental Changes to be committed: new file: install.sh --- install.sh | 362 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 362 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..5295cbe --- /dev/null +++ b/install.sh @@ -0,0 +1,362 @@ +#!/bin/bash + +# Author christophecvr christophevanr@gmail.com +# 2024/01/14 +if [ -z "$SUDO_USER" ];then + echo "########################################################" + echo "###### This instal script must be launched with sudo " + echo "###### Retry with sudo