windvn/input/hostname/modscript
2022-05-23 06:30:20 +02:00

2 lines
79 B
Bash
Executable File

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