mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-30 19:01:45 +02:00
10 lines
197 B
Bash
10 lines
197 B
Bash
#!/bin/sh
|
|
|
|
secretfile=/var/lib/otf/secret
|
|
|
|
! [ -f $secretfile ] && \
|
|
touch $secretfile && \
|
|
chown otf:otf $secretfile && \
|
|
chmod 600 $secretfile && \
|
|
xxd -u -l 16 -p /dev/urandom > $secretfile
|