From d9613c52c398dde8399879d035672870eece39ce Mon Sep 17 00:00:00 2001 From: Kroese Date: Mon, 10 Apr 2023 02:01:50 +0200 Subject: [PATCH] Prevent Windows bug --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 3f96b16..567b4d1 100644 --- a/install.sh +++ b/install.sh @@ -114,12 +114,12 @@ mv $PKG/ $LOC/ LOC="$MOUNT/usr/local/bin" mkdir -p $LOC -mv /agent/agent.sh $LOC/agent.sh +cp /agent/agent.sh $LOC/agent.sh chmod +x $LOC/agent.sh LOC="$MOUNT/usr/local/etc/rc.d" mkdir -p $LOC -mv /agent/service.sh $LOC/agent.sh +cp /agent/service.sh $LOC/agent.sh chmod +x $LOC/agent.sh if [ "$PRIVILEGED" = false ]; then