reboot also without systemd

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2023-06-27 14:08:57 +02:00
parent d0da932c0d
commit 2cf928d6b7
2 changed files with 4 additions and 2 deletions

View File

@@ -82,6 +82,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
when reading in the configurations
- Write log messages to stderr rather than stdout. #768
- realy reboot also without systemd
## [4.4.0] 2023-01-18
### Added

View File

@@ -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
echo b > /proc/sysrq-trigger || /sbin/reboot