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

@@ -63,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Change too-verbose warning message level from `Warn` to `Debug`. #1025
- Fixed a bug where error occurs when editing node. #1024
- Optionally detect network and netmask from CIDR IP address. #1016
- Fix startup of wwclient on systemd hosts #1066
### Changed

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 &