Advertisement
Guest User

Untitled

a guest
May 26th, 2015
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. start() {
  2. conf1=`authlog.conf /var/log/auth.log`
  3. conf2=`syslog.conf /var/log/syslog`
  4. nohup ./serial2 $conf1 &
  5. nohup ./serial2 $conf2 &
  6. }
  7.  
  8. case "$1" in
  9. start)
  10. start
  11. ;;
  12. stop)
  13. stop
  14. ;;
  15. restart)
  16. restart
  17. ;;
  18. *)
  19. echo $"Usage: $0 {start|stop|restart|status}"
  20. RETVAL=2
  21. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement