projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: set only DCSMP to /mnt/grmlcfg if a GRMLCFG fs was found
[grml-autoconfig.git]
/
autoconfig.functions
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