#!/bin/sh # $FreeBSD$ case $1 in start) LD_PRELOAD=/usr/lib/libpam.so export LD_PRELOAD if [ -x !!PREFIX!!/etc/webmin/start ]; then !!PREFIX!!/etc/webmin/start >/dev/null echo -n ' webmin' fi exit 0 ;; stop) if [ -x !!PREFIX!!/etc/webmin/stop ]; then !!PREFIX!!/etc/webmin/stop >/dev/null echo -n ' webmin' fi exit 0 ;; *) echo "usage: `basename $0` {start|stop}" >&2 exit 64 ;; esac