1 |
#!/bin/bash |
#!/bin/bash |
|
# |
|
2 |
# reboots the system and displays a nice message |
# reboots the system and displays a nice message |
3 |
|
# $Id$ |
4 |
# |
# |
|
# $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/bin/user_reboot.sh,v 1.3 2005-08-28 19:32:05 niro Exp $ |
|
5 |
|
|
6 |
if [ -x /usr/bin/Xdialog ] |
if [ -x $(which Xdialog) ] |
7 |
then |
then |
8 |
/usr/bin/Xdialog \ |
Xdialog \ |
9 |
--title "Reboot" \ |
--title "Reboot" \ |
10 |
--no-buttons \ |
--no-buttons \ |
11 |
--infobox "System reboot in progress ..." 6 34 5000 \ |
--infobox "System reboot in progress ..." 6 34 5000 \ |