Revert "Remove reboot/shutdown options limitation"

This reverts commit 8ed083ee5fd9fea3f3e8ace53141e6f60653caa1.