conceptually as to the purpose, think of it as a fancy version of an @reboot crontab entry run as root..net
cat /proc/cmdline sync lscpu sync cat /proc/meminfo synccode
(mount;swapon -s)|grep /dev/sd &&
echo DANGER SCSI DISKS IN USEcrontab
unr=$(uname -r) initrd=/boot/initramfs-$unr.img test -f $initrd || initrd=/boot/initrd-$unrget
if [[ -f $initrd ]]; then kexec -l /boot/vmlinuz-$unr --initrd=$initrd --reuse-cmdline sync fi reboot --no-wallcmd
Or using systemctl reboot
it