diff --git a/CHANGELOG.md b/CHANGELOG.md index e9530dbb..efb38a74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -87,6 +87,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updates to Makefile for clarity, notably removing genconfig and replacing test-it with test. #890 +- realy reboot also without systemd + ## [4.4.0] 2023-01-18 ### Added diff --git a/overlays/wwinit/init b/overlays/wwinit/init index a6999991..af754f94 100755 --- a/overlays/wwinit/init +++ b/overlays/wwinit/init @@ -11,7 +11,7 @@ if test -f "/warewulf/config"; then else echo "ERROR: Warewulf configuration file not found... rebooting in 1 minute" sleep 60 - /sbin/reboot + echo b > /proc/sysrq-trigger || /sbin/reboot fi echo "Warewulf v4 is now booting: $WWHOSTNAME" @@ -53,4 +53,4 @@ fi echo echo "There was a problem with the provisioning process, rebooting in 1 minute..." sleep 60 -/sbin/reboot \ No newline at end of file +echo b > /proc/sysrq-trigger || /sbin/reboot