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 2493 by niro, Thu Jun 16 16:21:43 2011 UTC revision 2494 by niro, Thu Jun 30 11:25:11 2011 UTC
# Line 3  Line 3 
3  # $Id$  # $Id$
4  #  #
5    
6  if [ -x $(which Xdialog) ]  if [[ -x $(which Xdialog) ]]
7  then  then
8   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 \
12   & sudo /sbin/reboot   & sudo /sbin/reboot
13  elif [ -x $(which xmessage) ]  elif [[ -x $(which xmessage) ]]
14  then  then
15   msg="   msg="
16    System reboot in progress ...      System reboot in progress ...  

Legend:
Removed from v.2493  
changed lines
  Added in v.2494