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 2435 by niro, Mon May 9 14:35:55 2011 UTC revision 2436 by niro, Thu Jun 16 16:21:43 2011 UTC
# Line 10  then Line 10  then
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) ]
14    then
15     msg="
16      System reboot in progress ...  
17    
18    "
19     xmessage -center -title "Reboot" -buttons "" "${msg}" \
20     & sudo /sbin/reboot
21  else  else
22   sudo /sbin/reboot   sudo /sbin/reboot
23  fi  fi

Legend:
Removed from v.2435  
changed lines
  Added in v.2436