Advertisement
Guest User

/etc/rc.local FAILURE

a guest
Jan 9th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. ]#!/bin/sh -e
  2. # FAIL WHALE, this will only execute the first command!, commands run fine by themselves
  3. # when executed in a shell, nothing wrong with syntax there. what am I missing???
  4. # rc.local
  5. #
  6. # This script is executed at the end of each multiuser runlevel.
  7. # Make sure that the script will "exit 0" on success or any other
  8. # value on error.
  9. #
  10. # In order to enable or disable this script just change the execution
  11. # bits.
  12. #
  13. # By default this script does nothing.
  14.  
  15. sntop -d -r 5 -l /home/devadmin/scripts/test.sh
  16. sntop -f /etc/sntoprc2 -d -r 5 -l /home/devadmin/scripts/test-2.sh
  17. sntop -f /etc/sntoprc3 -d -r 5 -l /home/devadmin/scripts/test-3.sh
  18. sntop -f /etc/sntoprc4 -d -r 5 -l /home/devadmin/scripts/test-4.sh
  19.  
  20. exit 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement