#! /bin/sh

umask 022
set -e

install-info --quiet --section "Development" "Development" \
  --description="System V interprocess communication facilities" \
  /usr/info/ipc.info.gz
update-alternatives --install /usr/bin/pager pager /bin/more 50

#
#	Check if links to hwclock.sh are present in runlevel "6".
#	If not, remove the ones from runlevel "S" so that
#	update-rc.d will do it's job.
#
if [ ! -f /etc/rc6.d/???hwclock.sh ] && [ ! -f /etc/rc0.d/???hwclock.sh ]
then
	rm -f /etc/rcS.d/???hwclock.sh
fi
update-rc.d hwclock.sh start 50 S . start 25 0 6 . > /dev/null

if [ -x /usr/sbin/update-mime ]; then
	update-mime
fi
