I have a Zenity script that shows an acceptable use policy for a school I work at which looks like this
zenity --title "Acceptable Use Policy" --text "All users of this machine must acknowledge and abide by \n all rules and regulations set by the acceptable use policy \n of the schools. This policy can be viewed on the front \n of the door of this computer lab" --list --radiolist --column "Choice" --column "Answer" True Accept False Deny
What I want is if they hit "accept" it will just go away and if they hit deny, it reboots the computer. Any idea of how to do this?