implement linux reboot with magic numbers