windvn/mods/hostname/modscript
2022-08-04 22:56:02 +02:00

2 lines
71 B
Bash
Executable File

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