windvn/mods/hostname/modscript

2 lines
71 B
Plaintext
Raw Normal View History

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