Merge pull request #871 from mslacken/RealyReboot
reboot also without systemd
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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