#!/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


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

#DEBHELPER#
