remove function which is bashisam (and thus we work under dash as /bin/sh)
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 10 May 2010 12:50:50 +0000 (12:50 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 10 May 2010 12:50:50 +0000 (12:50 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@206 191e9f34-6774-4a6d-acfc-7664dacd4a2a

recepies/lxc/ve2lxc.sh

index 754e391..4e29629 100755 (executable)
@@ -16,7 +16,7 @@ tmp=/tmp/inittab
 
 cp $path $tmp || exit
 
-function append() {
+append() {
        if ! grep "$1" $path ; then
                echo "$1" >> $tmp
        fi