#!/bin/bash

PROG=$(basename $0)

if [ "${BASEDIR:=/}" = "/" ]; then
	/usr/sbin/${PROG}.orig $*
else
	chroot ${BASEDIR} /usr/sbin/${PROG}.orig $*
fi
