projects
/
sysadmin-cookbook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbbc710
)
remove function which is bashisam (and thus we work under dash as /bin/sh)
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 10 May 2010 12:50:50 +0000
(12:50 +0000)
committer
Dobrica 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
patch
|
blob
|
history
diff --git
a/recepies/lxc/ve2lxc.sh
b/recepies/lxc/ve2lxc.sh
index
754e391
..
4e29629
100755
(executable)
--- a/
recepies/lxc/ve2lxc.sh
+++ b/
recepies/lxc/ve2lxc.sh
@@
-16,7
+16,7
@@
tmp=/tmp/inittab
cp $path $tmp || exit
-
function
append() {
+append() {
if ! grep "$1" $path ; then
echo "$1" >> $tmp
fi