Magellan Linux

Diff of /alx-src/branches/alxconf-060/bin/user_shutdown.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1998 by niro, Thu Apr 14 19:29:35 2011 UTC revision 1999 by niro, Mon May 9 14:36:06 2011 UTC
# Line 1  Line 1 
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 \

Legend:
Removed from v.1998  
changed lines
  Added in v.1999