mint-config-update.sh aktualisiert
This commit is contained in:
parent
896c6de065
commit
1ef6af7127
@ -1,8 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# lockfile for systemd-service
|
if whoami | grep -q ^root$
|
||||||
trap "rm -f /run/mint-config-update.sh.lock" EXIT
|
then
|
||||||
echo $$ >/run/mint-config-update.sh.lock
|
# lockfile for systemd-service
|
||||||
|
trap "rm -f /run/mint-config-update.sh.lock" EXIT
|
||||||
|
echo $$ >/run/mint-config-update.sh.lock
|
||||||
|
fi
|
||||||
|
|
||||||
# download and run
|
# download and run
|
||||||
wget -q https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint.sh -O /tmp/mint.sh || exit 0
|
wget -q https://gitea.ds9.dedyn.io/olli/linux-mint/raw/branch/main/mint.sh -O /tmp/mint.sh || exit 0
|
||||||
@ -11,4 +14,5 @@ bash -n mint.sh && bash -x mint.sh
|
|||||||
rm mint.sh
|
rm mint.sh
|
||||||
|
|
||||||
echo "Skript beendet"
|
echo "Skript beendet"
|
||||||
|
if whoami | grep -q ^root$ && exit 0
|
||||||
read x
|
read x
|
||||||
|
Loading…
Reference in New Issue
Block a user