|
|
@ -12,7 +12,7 @@ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${serverfiles}:${serverfiles}/RustDedic |
|
|
|
|
|
|
|
# Part of random seed feature. |
|
|
|
# If seed is not defined by user generate a seed file. |
|
|
|
if [ -z "${seed}" ]; then |
|
|
|
if [ -z "${seed}" ] || [ "${seed}" == "0" ]; then |
|
|
|
if [ ! -f "${datadir}/${selfname}-seed.txt" ]; then |
|
|
|
shuf -i 1-2147483647 -n 1 > "${datadir}/${selfname}-seed.txt" |
|
|
|
fi |
|
|
|