diff options
-rwxr-xr-x | remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 4 |
1 files 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 |