DEPRECATED: The server data developed for the tmwAthena server used by The Mana World Legacy. All further development will take place in the "server-data" repo.
#! /bin/bashOUTPUT=magic-secrets.conf
INPUT=$OUTPUT.template
RSCRIPT=secrets-build
if!grep-q-s'/bin/sed'$RSCRIPT;thenecho'#! /bin/sed -f'>$RSCRIPT;chmoda+x$RSCRIPTfifornin`grep-o'"#..."'$INPUT`;doif!grep-q$n$RSCRIPT;thenecho"New secret ${n} needs to be set in $RSCRIPT!"echo"s/${n}/${n}/">>$RSCRIPT;fidone
./$RSCRIPT$INPUT>$OUTPUT