projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c23c394
)
Fix indention in etc/grml/fai/config/hooks/instsoft.GRMLBASE
author
Michael Prokop
<devnull@localhost>
Sun, 25 Nov 2007 18:49:06 +0000
(19:49 +0100)
committer
Michael Prokop
<devnull@localhost>
Sun, 25 Nov 2007 18:49:06 +0000
(19:49 +0100)
etc/grml/fai/config/hooks/instsoft.GRMLBASE
patch
|
blob
|
history
diff --git
a/etc/grml/fai/config/hooks/instsoft.GRMLBASE
b/etc/grml/fai/config/hooks/instsoft.GRMLBASE
index
4d087e7
..
7a67f99
100755
(executable)
--- a/
etc/grml/fai/config/hooks/instsoft.GRMLBASE
+++ b/
etc/grml/fai/config/hooks/instsoft.GRMLBASE
@@
-23,11
+23,11
@@
if [ "$FAI_ACTION" = "softupdate" ] ; then
echo "Softupdate of FAI via grml-live running"
if [ -r /etc/resolv.conf ] ; then
echo "Softupdate of FAI via grml-live running"
if [ -r /etc/resolv.conf ] ; then
- if [ -r $target/etc/resolvconf/run/resolv.conf ] ; then
- cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf
- else
- cat /etc/resolv.conf >> $target/etc/resolv.conf
- fi
+
if [ -r $target/etc/resolvconf/run/resolv.conf ] ; then
+
cat /etc/resolv.conf >> $target/etc/resolvconf/run/resolv.conf
+
else
+
cat /etc/resolv.conf >> $target/etc/resolv.conf
+
fi
fi
if [ -r $target/etc/policy-rc.d.conf ] ; then
fi
if [ -r $target/etc/policy-rc.d.conf ] ; then