summaryrefslogtreecommitdiffstats
path: root/data/disk-tmp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/disk-tmp.sh')
-rwxr-xr-xdata/disk-tmp.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/data/disk-tmp.sh b/data/disk-tmp.sh
deleted file mode 100755
index 4378c45c..00000000
--- a/data/disk-tmp.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2013 - OpenSLX GmbH
-#
-# This program is free software distributed under the GPL version 2.
-# See http://openslx.org/COPYING
-#
-# If you have any feedback please consult http://openslx.org/feedback and
-# send your feedback to feedback@openslx.org
-#
-# General information about OpenSLX can be found under http://openslx.org
-#
-# Mount local ID44 partition to /tmp after all existing stuff is preserved
-
-#############################################################################
-
-# Check if ID44 is available by analysing /etc/fstab for appropriate entry
-if cat /proc/mounts | grep -qe "/dev/.*/tmp" ; then
- mkdir -p /run/tmp
- mv /tmp/* /run/tmp
- mount --bind /run/mount/tmp /tmp
- umount /run/mount/tmp
- mv /run/tmp/* /tmp
- rmdir /run/tmp
-fi