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