Make hostname modscript fail on error

This commit is contained in:
Fierelier 2023-08-22 16:16:05 +02:00
parent 202f6963fe
commit f02d0d048d

View File

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