windvn/mods/hostname/modscript
2022-08-22 11:08:06 +02:00

2 lines
73 B
Bash
Executable File

#!/bin/bash
echo "$(head -c4 </dev/urandom|xxd -p -u)" >"$1/etc/hostname"