windvn/mods/hostname/modscript

2 lines
73 B
Plaintext
Raw Normal View History

2022-08-04 20:56:02 +00:00
#!/bin/bash
2022-08-22 09:08:06 +00:00
echo "$(head -c4 </dev/urandom|xxd -p -u)" >"$1/etc/hostname"