reboot also without systemd
Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user