#!/bin/sh #chkconfig: 35 99 09 case "$1" in start) if [ -x /root/trlistart.sh ]; then /root/trlistart.sh else echo /root/trlistart.sh missing echo run trli-production config fi ;; stop) /root/trlistop.sh ;; *) echo start or stup ;; esac