Commit 4e2d2d07 authored by Michael Biebl's avatar Michael Biebl Committed by Tollef Fog Heen
Browse files

Remove /cgroup cleanup code from postinst.

parent fc05c6ec
......@@ -13,6 +13,7 @@ systemd (35-1) UNRELEASED; urgency=low
* Add Build-Depends on intltool.
* Do a one-time migration of the hwclock configuration. If UTC is set to
"no" in /etc/default/rcS, create /etc/adjtime and add the "LOCAL" setting.
* Remove /cgroup cleanup code from postinst.
-- Tollef Fog Heen <tfheen@debian.org> Wed, 14 Sep 2011 08:25:17 +0200
......
......@@ -4,18 +4,6 @@ set -e
if [ -n "$2" ]; then
systemctl daemon-reexec || true
if dpkg --compare-versions "$2" lt "11-2"; then
if [ -e /proc/mounts ]; then
mounts=$(awk '/ \/cgroup/ {print $2}' < /proc/mounts | sort -r)
for m in $mounts; do
umount "$m" || true;
done
fi
if [ -d /cgroup ]; then
rmdir --ignore-fail-on-non-empty /cgroup
fi
fi
fi
# Do a one-time migration of the local time setting
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment