Magellan Linux

Diff of /alx-src/trunk/alxconfig-ng/bin/user_reboot.sh

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

revision 239 by niro, Tue Apr 12 20:37:06 2005 UTC revision 240 by niro, Tue Apr 12 20:48:40 2005 UTC
# Line 2  Line 2 
2  #  #
3  # reboots the system and displays a nice message  # reboots the system and displays a nice message
4  #  #
5  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/bin/user_reboot.sh,v 1.1 2005-04-12 20:37:01 niro Exp $  # $Header: /home/cvsd/alx-cvs/alx-src/alxconfig-ng/bin/user_reboot.sh,v 1.2 2005-04-12 20:48:36 niro Exp $
6    
7  if [ -x /usr/bin/Xdialog ]  if [ -x /usr/bin/Xdialog ]
8  then  then
9   /usr/bin/Xdialog \   /usr/bin/Xdialog \
10   --title Shutdown \   --title "Reboot" \
11   --no-buttons \   --no-buttons \
12   --infobox "System reboot in progress ..." 6 30 5000 \   --infobox "System reboot in progress ..." 6 30 5000 \
13   & sudo /sbin/reboot   & sudo /sbin/reboot

Legend:
Removed from v.239  
changed lines
  Added in v.240