diff options
Diffstat (limited to 'kickstart-static64.sh')
-rwxr-xr-x | kickstart-static64.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kickstart-static64.sh b/kickstart-static64.sh index da6a639869..98c224f47d 100755 --- a/kickstart-static64.sh +++ b/kickstart-static64.sh @@ -212,11 +212,17 @@ fi # --------------------------------------------------------------------------------------------------------------------- +opts= +if [ "${1}" = "--dont-wait" -o "${1}" = "--non-interactive" ] +then + opts="--accept" +fi + progress "Installing netdata" sudo= [ "${UID}" != "0" ] && sudo="sudo" -run ${sudo} sh "/tmp/${LATEST}" +run ${sudo} sh "/tmp/${LATEST}" ${opts} if [ $? -eq 0 ] then |