2011-05-04 13:10:50 +02:00
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
|
|
|
# Create compat symlinks for /run.
|
2011-05-20 14:25:36 +02:00
|
|
|
for d in tmp var/tmp var/run var/lock lib/rc/init.d; do
|
|
|
|
[ -h "$d" ] && rm -f "$d"
|
|
|
|
done
|
2011-05-04 13:10:50 +02:00
|
|
|
ln -sf /run/init.d lib/rc/init.d
|
|
|
|
ln -sf /run/tmp tmp
|
|
|
|
ln -sf /run/tmp var/tmp
|
2011-05-20 14:25:36 +02:00
|
|
|
ln -sf /run var/run
|
2011-05-04 13:10:50 +02:00
|
|
|
ln -sf /run/lock var/lock
|
|
|
|
;;
|
|
|
|
esac
|