windvn/mods/hostname/modscript
2023-08-22 16:43:09 +02:00

3 lines
80 B
Bash
Executable File

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