Disable these defaults to avoid selinux.
This commit is contained in:
parent
71a350daca
commit
2833a3a058
1 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
pause=10
|
||||
host=$( hostname -s )
|
||||
# These defaults are commented out because selinux doesn't like us running that
|
||||
# hostname on rhel7 for some reason. Anyways, we always pass in the arguments
|
||||
# via the collectd configuration information so wth. -- threebean
|
||||
#pause=10
|
||||
#host=$( /usr/bin/hostname -s )
|
||||
|
||||
while getopts "h:p:s:" c; do
|
||||
case $c in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue