Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- start() {
- conf1=`authlog.conf /var/log/auth.log`
- conf2=`syslog.conf /var/log/syslog`
- nohup ./serial2 $conf1 &
- nohup ./serial2 $conf2 &
- }
- case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- restart
- ;;
- *)
- echo $"Usage: $0 {start|stop|restart|status}"
- RETVAL=2
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement