summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-05-04 17:33:34 +0000
committerThomas Backlund <tmb@mageia.org>2012-05-04 17:33:34 +0000
commit007f07456f49f43a31c3f5c2f4c4eeffbc18a74d (patch)
treeabd19bb2f9a85522089ea0c2d8fac259a7eec9e5 /files
parentd07885cd1ebaf838c3eb36814c03f39180716ae3 (diff)
downloaddraklive-config-007f07456f49f43a31c3f5c2f4c4eeffbc18a74d.tar
draklive-config-007f07456f49f43a31c3f5c2f4c4eeffbc18a74d.tar.gz
draklive-config-007f07456f49f43a31c3f5c2f4c4eeffbc18a74d.tar.bz2
draklive-config-007f07456f49f43a31c3f5c2f4c4eeffbc18a74d.tar.xz
draklive-config-007f07456f49f43a31c3f5c2f4c4eeffbc18a74d.zip
we dont use halt.pre anymore
Diffstat (limited to 'files')
-rw-r--r--files/halt.pre20
1 files changed, 0 insertions, 20 deletions
diff --git a/files/halt.pre b/files/halt.pre
deleted file mode 100644
index 8b2583e..0000000
--- a/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