Contents of /alx-src/branches/alxconf_20060908/bin/user_shutdown.sh
Parent Directory | Revision Log
Revision 375 -
(show annotations)
(download)
(as text)
Mon Feb 20 14:49:31 2006 UTC (18 years, 7 months ago) by (unknown author)
Original Path: alx-src/tags/alxconf_20060908_1/alxconfig-ng/bin/user_shutdown.sh
File MIME type: application/x-sh
File size: 373 byte(s)
Mon Feb 20 14:49:31 2006 UTC (18 years, 7 months ago) by (unknown author)
Original Path: alx-src/tags/alxconf_20060908_1/alxconfig-ng/bin/user_shutdown.sh
File MIME type: application/x-sh
File size: 373 byte(s)
This commit was manufactured by cvs2svn to create tag 'alxconf_20060908_1'.
1 | #!/bin/bash |
2 | # |
3 | # shuts the system down and displays a nice message |
4 | # |
5 | # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/bin/user_shutdown.sh,v 1.3 2005-08-28 19:32:13 niro Exp $ |
6 | |
7 | if [ -x /usr/bin/Xdialog ] |
8 | then |
9 | /usr/bin/Xdialog \ |
10 | --title "Shutdown" \ |
11 | --no-buttons \ |
12 | --infobox "System shutdown in progress ..." 6 34 5000 \ |
13 | & sudo /sbin/halt |
14 | else |
15 | sudo /sbin/halt |
16 | fi |