summaryrefslogtreecommitdiff
path: root/components/9990-overlay.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 21:36:37 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2015-01-04 21:47:53 +0100
commitf2dcec3f21086a557db86ae928295474be79d35b (patch)
tree37bff9ed4663f655205613b8571f286abfbaac46 /components/9990-overlay.sh
parentc2bad45e991632c647f0c6c542bd4a0514f32fe7 (diff)
downloadlive-boot-f2dcec3f21086a557db86ae928295474be79d35b.tar.gz
live-boot-f2dcec3f21086a557db86ae928295474be79d35b.zip
Simplifying code a bit after removal of no longer supported overlay alternatives.
Diffstat (limited to 'components/9990-overlay.sh')
-rwxr-xr-xcomponents/9990-overlay.sh14
1 files changed, 5 insertions, 9 deletions
diff --git a/components/9990-overlay.sh b/components/9990-overlay.sh
index 316a21d..54b75e5 100755
--- a/components/9990-overlay.sh
+++ b/components/9990-overlay.sh
@@ -8,16 +8,12 @@ setup_unionfs ()
rootmnt="${2}"
addimage_directory="${3}"
- case ${UNIONTYPE} in
- aufs|overlay)
- if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$"
- then
- panic "${UNIONTYPE} not available."
- fi
+ if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$"
+ then
+ panic "${UNIONTYPE} not available."
+ fi
- modprobe -q -b ${UNIONTYPE}
- ;;
- esac
+ modprobe -q -b ${UNIONTYPE}
# run-init can't deal with images in a subdir, but we're going to
# move all of these away before it runs anyway. No, we're not,