diff options
author | Thomas Backlund <tmb@mageia.org> | 2012-05-04 17:33:34 +0000 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2012-05-04 17:33:34 +0000 |
commit | 007f07456f49f43a31c3f5c2f4c4eeffbc18a74d (patch) | |
tree | abd19bb2f9a85522089ea0c2d8fac259a7eec9e5 /files | |
parent | d07885cd1ebaf838c3eb36814c03f39180716ae3 (diff) | |
download | draklive-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.pre | 20 |
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 |