Magellan Linux

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

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

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

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