(simatec) Fix DEFAULT_RETENTION_DAYS

This commit is contained in:
simatec 2023-01-20 09:20:32 +01:00
parent 505dc0a107
commit bf583d530a

View file

@ -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