/[sysadmin-cookbook]/recepies/lxc/ve2lxc.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/lxc/ve2lxc.sh

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

revision 205 by dpavlin, Fri Mar 19 14:02:14 2010 UTC revision 206 by dpavlin, Mon May 10 12:50:50 2010 UTC
# Line 16  tmp=/tmp/inittab Line 16  tmp=/tmp/inittab
16    
17  cp $path $tmp || exit  cp $path $tmp || exit
18    
19  function append() {  append() {
20          if ! grep "$1" $path ; then          if ! grep "$1" $path ; then
21                  echo "$1" >> $tmp                  echo "$1" >> $tmp
22          fi          fi

Legend:
Removed from v.205  
changed lines
  Added in v.206

  ViewVC Help
Powered by ViewVC 1.1.26