From c8007460b8a2f2675f7e9fc0743aff120e888a38 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 2 Dec 2013 15:15:25 +0100 Subject: ...ash compatibility... --- .../rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions index cf285fac..a5c2ece7 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions @@ -64,7 +64,7 @@ diskfm () { done } -function mount_temp () { +mount_temp () { local PRE=$(pwd) if ! cd /tmp; then mount_temp_fallback $@ @@ -79,7 +79,7 @@ function mount_temp () { cd "$PRE" } -function mount_temp_fallback () { +mount_temp_fallback () { mkdir -p /tmptmp mv /tmp/* /tmp/.* /tmptmp/ 2> /dev/null mount $@ /tmp || return 1 -- cgit v1.2.3-55-g7522