(simatec) Fix DEFAULT_RETENTION_DAYS
This commit is contained in:
parent
505dc0a107
commit
bf583d530a
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ if [ ! -f $installPth/.configDone ]; then
|
||||||
|
|
||||||
# retention Days
|
# retention Days
|
||||||
read -ep "Please set retention days (Enter for default: $DEFAULT_RETENTION_DAYS Days): " retentionDays
|
read -ep "Please set retention days (Enter for default: $DEFAULT_RETENTION_DAYS Days): " retentionDays
|
||||||
retentionDays=${retentionDays:=$DEFAULT_RETENTION_DAYS Days}
|
retentionDays=${retentionDays:=$DEFAULT_RETENTION_DAYS}
|
||||||
sed -i 's/DEFAULT_RETENTION_DAYS=.*/DEFAULT_RETENTION_DAYS="'$retentionDays'"/g' ./piler.conf
|
sed -i 's/DEFAULT_RETENTION_DAYS=.*/DEFAULT_RETENTION_DAYS="'$retentionDays'"/g' ./piler.conf
|
||||||
|
|
||||||
# Smarthost
|
# Smarthost
|
||||||
|
|
Loading…
Reference in a new issue