summaryrefslogtreecommitdiff
path: root/components/9990-fstab.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-11-10 14:18:04 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2014-11-10 14:18:04 +0100
commitf587cb900b3100f31d379f3f9e1b60521c5ebc69 (patch)
tree26f9d033a7042d66481ec876ef5065de1e6bd002 /components/9990-fstab.sh
parent32b212a4035f2686a188aa8f5be2092577b4dcb7 (diff)
downloadlive-boot-f587cb900b3100f31d379f3f9e1b60521c5ebc69.tar.gz
live-boot-f587cb900b3100f31d379f3f9e1b60521c5ebc69.zip
Dropping usage of /etc/fstab.d since util-linux removed it, thanks to Evgeni Golov <evgeni+git@golov.de> for reporting it.
Diffstat (limited to 'components/9990-fstab.sh')
-rwxr-xr-xcomponents/9990-fstab.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/9990-fstab.sh b/components/9990-fstab.sh
index 5ae9546..a8d9123 100755
--- a/components/9990-fstab.sh
+++ b/components/9990-fstab.sh
@@ -15,14 +15,14 @@ Fstab ()
log_begin_msg "Configuring fstab"
- if ! grep -qs "^${UNIONTYPE}" /root/etc/fstab.d/live
+ if ! grep -qs "^${UNIONTYPE}" /root/etc/fstab
then
- echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> /root/etc/fstab.d/live
+ echo "${UNIONTYPE} / ${UNIONTYPE} rw 0 0" >> /root/etc/fstab
fi
- if ! grep -qs "^tmpfs /tmp" /root/etc/fstab.d/live
+ if ! grep -qs "^tmpfs /tmp" /root/etc/fstab
then
- echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> /root/etc/fstab.d/live
+ echo "tmpfs /tmp tmpfs nosuid,nodev 0 0" >> /root/etc/fstab
fi
log_end_msg