Updated system reboot and shutdown commands to use plain sudo and /sbin/shutdown.