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 | |
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
-rw-r--r-- | config/live.cfg | 4 | ||||
-rw-r--r-- | files/halt.pre | 20 |
2 files changed, 0 insertions, 24 deletions
diff --git a/config/live.cfg b/config/live.cfg index da35792..8a42e9c 100644 --- a/config/live.cfg +++ b/config/live.cfg @@ -49,10 +49,6 @@ my $_l = { #- do not load usblp and trigger autosetupprintqueues in live since cups is not available [ 'files/live.modprobe.CD', '/etc/modprobe.d/live.conf', { mode => 0644, no_install => 1 } ], ), - if_($live->{settings}{media} ne 'usb', #- FIXME - #- umount tmp rpm hack before /etc/init.d/halt tries and fails - [ 'files/halt.pre', '/sbin/halt.pre', { mode => 0755 } ], - ), #- disable first boot wizard at live boot [ 'files/firstboot', '/etc/sysconfig/firstboot', { mode => 0644 } ], #- enable drakx-finish-install at live boot 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 |