Diff of /alx-src/tags/alxconf-0_6_6/bin/user_reboot.sh
Parent Directory | Revision Log | Patch
revision 1998 by niro, Mon May 9 14:35:55 2011 UTC | revision 2436 by niro, Thu Jun 16 16:21:43 2011 UTC | |
---|---|---|
# | Line 10 then | Line 10 then |
10 | --no-buttons \ | --no-buttons \ |
11 | --infobox "System reboot in progress ..." 6 34 5000 \ | --infobox "System reboot in progress ..." 6 34 5000 \ |
12 | & sudo /sbin/reboot | & sudo /sbin/reboot |
13 | elif [ -x $(which xmessage) ] | |
14 | then | |
15 | msg=" | |
16 | System reboot in progress ... | |
17 | ||
18 | " | |
19 | xmessage -center -title "Reboot" -buttons "" "${msg}" \ | |
20 | & sudo /sbin/reboot | |
21 | else | else |
22 | sudo /sbin/reboot | sudo /sbin/reboot |
23 | fi | fi |
|