summaryrefslogtreecommitdiff
path: root/setup-lbu.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-lbu.in')
-rw-r--r--setup-lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-lbu.in b/setup-lbu.in
index a491737..3af1f8e 100644
--- a/setup-lbu.in
+++ b/setup-lbu.in
@@ -55,7 +55,7 @@ set_media() {
local mnt=/media/$media
case "$media" in
- LABEL=*|UUID=*) mkdir -p /media/$media;;
+ LABEL=*|UUID=*) mkdir -p $ROOT/media/$media;;
esac
if [ -d "$media" ] && [ "${media#/media/}" != "$media" ]; then
mnt="$media"