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 3409 by niro, Thu Jun 30 11:25:11 2011 UTC revision 3410 by niro, Wed Apr 4 09:41:24 2012 UTC
# Line 8  then Line 8  then
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 \
11   & sudo /sbin/halt   & sudo /sbin/poweroff
12  elif [[ -x $(which xmessage) ]]  elif [[ -x $(which xmessage) ]]
13  then  then
14   msg="   msg="
# Line 16  then Line 16  then
16    
17  "  "
18   xmessage -center -title "Shutdown" -buttons "" "${msg}" \   xmessage -center -title "Shutdown" -buttons "" "${msg}" \
19   & sudo /sbin/halt   & sudo /sbin/poweroff
20  else  else
21   sudo /sbin/halt   sudo /sbin/poweroff
22  fi  fi

Legend:
Removed from v.3409  
changed lines
  Added in v.3410