diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-13 10:20:57 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-05-13 15:52:55 +0200 |
commit | a54264fe0016c21b189798e2be7376df777a4163 (patch) | |
tree | 73b844b2c137b15ec7a59e1265a7a41c5697a54e | |
parent | 709ae9fedffa2fff9b445ee38dfd2f34eb5bfc02 (diff) | |
download | alpine-conf-a54264fe0016c21b189798e2be7376df777a4163.zip |
setup-lbu: create media directory relative ROOT
-rw-r--r-- | setup-lbu.in | 2 |
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" |