mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-26 20:02:30 +01:00
11 lines
207 B
Bash
11 lines
207 B
Bash
#!/bin/sh
|
|
|
|
secretfile=/var/lib/tofutf/secret
|
|
|
|
if ! [ -f $secretfile ]; then
|
|
touch $secretfile &&
|
|
chown tofutf:tofutf $secretfile &&
|
|
chmod 600 $secretfile &&
|
|
xxd -u -l 16 -p /dev/urandom > $secretfile
|
|
fi
|