#!/bin/bash

#DEBHELPER#

# postinst script to replace poweroff

#set -e

if test -e /sbin/poweroff; then
		rm /sbin/poweroff 
fi

ln -s /lib/init-diversity/poweroff.sh /sbin/poweroff


# postinst script to replace reboot

#set -e

if test -e /sbin/reboot; then
		rm /sbin/reboot
fi

ln -s /lib/init-diversity/reboot.sh /sbin/reboot

# postinst script to replace reboot

#set -e

if test -e /sbin/shutdown; then
		rm /sbin/shutdown
fi

ln -s /lib/init-diversity/shutdown.sh /sbin/shutdown



# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#
