#!/bin/sh

zenity --question --text="Restart?"

    if [ $? == 0 ]
     then
        init 6
     else
     exit
   fi