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 2435 by niro, Mon May 9 14:36:06 2011 UTC revision 2436 by niro, Thu Jun 16 16:21:43 2011 UTC
# Line 9  then Line 9  then
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/halt
12    elif [ -x $(which xmessage) ]
13    then
14     msg="
15      System shutdown in progress ...  
16    
17    "
18     xmessage -center -title "Shutdown" -buttons "" "${msg}" \
19     & sudo /sbin/halt
20  else  else
21   sudo /sbin/halt   sudo /sbin/halt
22  fi  fi

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