summaryrefslogtreecommitdiffstats
path: root/trunk/files/halt.pre
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/files/halt.pre')
-rw-r--r--trunk/files/halt.pre20
1 files changed, 0 insertions, 20 deletions
diff --git a/trunk/files/halt.pre b/trunk/files/halt.pre
deleted file mode 100644
index 8b2583e..0000000
--- a/trunk/files/halt.pre
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-mypath=$_
-roottype=`awk '$2 == "/" { print $3 }' /etc/fstab`
-
-maybe_umount() {
- eval d=\$$#
- awk "\$2 == \"$d\" { system(\"umount \" \$d) }" /proc/mounts
-}
-
-if [ "$roottype" == unionfs ]; then
- maybe_umount /var/lib/rpm
- maybe_umount /tmp/rpm/real
- maybe_umount /tmp/rpm
-fi
-
-# disable self during first halt when installed
-rm -f $mypath
-
-/bin/plymouth quit