projects
/
grml-autoconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
333fd52
)
fix: set only DCSMP to /mnt/grmlcfg if a GRMLCFG fs was found
author
Marc Haber
<mh+git-200908-swivel@zugschlus.de>
Fri, 23 Oct 2009 19:37:43 +0000
(21:37 +0200)
committer
Michael Prokop
<mika@grml.org>
Fri, 23 Oct 2009 19:40:45 +0000
(21:40 +0200)
autoconfig.functions
patch
|
blob
|
history
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
4d13248
..
5519f28
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1989,7
+1989,9
@@
else
fi
fi
DCSDEVICE=$(blkid -t LABEL=GRMLCFG | head -1 | awk -F: '{print $1}')
- DCSMP="/mnt/grmlcfg"
+ if [ -n "$DCSDEVICE" ]; then
+ DCSMP="/mnt/grmlcfg"
+ fi
eoutdent
fi