Remove redundant wwclient startup script

80-wwclient was previously supplanted by 80-wwclient.ww, but the static
version was retained. Meanwhile, the static version can only detect
systemd when it is running, which it isn't during wwinit. This led to
wwclient starting during wwinit and then being killed by systemd.

Closes #1066

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-02-16 22:27:43 -07:00
parent c828356b53
commit b68a0faf6d
2 changed files with 1 additions and 7 deletions

View File

@@ -1,7 +0,0 @@
#!/bin/sh
. /warewulf/config
# Only start if the systemd is no available
test -d /run/systemd/system && exit 0
echo "Starting wwclient"
nohup /warewulf/wwclient >/var/log/wwclient.log 2>&1 </dev/null &