#!/bin/sh -e export PATH=$PATH:/opt/likewise/bin case "$1" in remove) ## Be paranoid about cleaning up domainjoin-cli leave domainjoin-cli configure --disable pam domainjoin-cli configure --disable nsswitch lwsm stop lwreg /etc/init.d/lwsmd stop ;; failed-upgrade) # The prerm script of a previous version failed for upgrade. ;; upgrade) # A newer version is about to be installed; do nothing and let it handle it. ;; esac #DEBHELPER#