Prevent Windows bug
This commit is contained in:
parent
cb65730e99
commit
d9613c52c3
1 changed files with 2 additions and 2 deletions
|
|
@ -114,12 +114,12 @@ mv $PKG/ $LOC/
|
||||||
|
|
||||||
LOC="$MOUNT/usr/local/bin"
|
LOC="$MOUNT/usr/local/bin"
|
||||||
mkdir -p $LOC
|
mkdir -p $LOC
|
||||||
mv /agent/agent.sh $LOC/agent.sh
|
cp /agent/agent.sh $LOC/agent.sh
|
||||||
chmod +x $LOC/agent.sh
|
chmod +x $LOC/agent.sh
|
||||||
|
|
||||||
LOC="$MOUNT/usr/local/etc/rc.d"
|
LOC="$MOUNT/usr/local/etc/rc.d"
|
||||||
mkdir -p $LOC
|
mkdir -p $LOC
|
||||||
mv /agent/service.sh $LOC/agent.sh
|
cp /agent/service.sh $LOC/agent.sh
|
||||||
chmod +x $LOC/agent.sh
|
chmod +x $LOC/agent.sh
|
||||||
|
|
||||||
if [ "$PRIVILEGED" = false ]; then
|
if [ "$PRIVILEGED" = false ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue