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