projects
/
grml-autoconfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config_finddcsdir(): Use the correct device for GRMLCFG
[grml-autoconfig.git]
/
autoconfig.functions
diff --git
a/autoconfig.functions
b/autoconfig.functions
index
94efd88
..
fd4b121
100755
(executable)
--- a/
autoconfig.functions
+++ b/
autoconfig.functions
@@
-1946,7
+1946,7
@@
else
else
[ -d /mnt/grml ] || mkdir /mnt/grml
umount /mnt/grml 1>>$DEBUG 2>&1 # make sure it is not mounted
else
[ -d /mnt/grml ] || mkdir /mnt/grml
umount /mnt/grml 1>>$DEBUG 2>&1 # make sure it is not mounted
- mount -o ro -t auto $
MOUNTDEVICE
/mnt/grml ; RC="$?"
+ mount -o ro -t auto $
DCSDEVICE
/mnt/grml ; RC="$?"
if [[ $RC == 0 ]]; then
einfo "Successfully mounted $DCSDEVICE to /mnt/grml (readonly)." ; eend 0
eindent
if [[ $RC == 0 ]]; then
einfo "Successfully mounted $DCSDEVICE to /mnt/grml (readonly)." ; eend 0
eindent