From 1142ef47fbf617fcf1e00e6a160f54fb7ab4ee30 Mon Sep 17 00:00:00 2001 From: chanakya Date: Wed, 13 Dec 2023 13:16:32 +0530 Subject: [PATCH] update --- BackEnd/runScript.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/BackEnd/runScript.sh b/BackEnd/runScript.sh index 6598efa..cb2d657 100755 --- a/BackEnd/runScript.sh +++ b/BackEnd/runScript.sh @@ -11,15 +11,10 @@ run_command() { # Set file paths SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -CONFIG_FILE_PATH="$SCRIPT_DIR/../config/sampleconfig.toml" RULES_CONF_PATH="$SCRIPT_DIR/../BackEnd/rules.conf" -# Check if the configuration file exists -if [ ! -f "$CONFIG_FILE_PATH" ]; then - echo "Error: Configuration file not found." - exit 1 -fi +TEMP_DISABLE_FILE="$SCRIPT_DIR/disable_usbguard.tmp" # Check if rules.conf exists if [ ! -f "$RULES_CONF_PATH" ]; then echo "Error: rules.conf file not found."