#!/bin/sh if [ $# = '0' ]; then $prodir/$script $mydomain $hnameip $pwadmin & echo $! > $piddir/$appname.pid exit 0 fi if [ $# = '1' -a $1 = 'test' ]; then echo setup appname="pwfilter" script="pwfilter.py" user="mail" prodir="/usr/local/pwmail" logdir="/var/log/pwmail" piddir="/var/run/pwmail" mydomain="oakiki.jp,xxxx1.jp,xxxx2.jp" hnameip="192.168.200.110" pwadmin="pwadmin@oakiki.jp" $prodir/$script $mydomain $hnameip $pwadmin & # echo $! > $piddir/$appname.pid fi