Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chanakyavasantha committed Dec 13, 2023
1 parent 6f107b1 commit 1142ef4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions BackEnd/runScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 1142ef4

Please sign in to comment.