You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
212 B
Bash

#!/bin/sh
set -e
xbps-install -y opendoas tar curl diffutils
if [ ! -f /etc/doas.conf ]; then
cat <<EOF > /etc/doas.conf
permit nopass root
permit setenv { -ENV PS1=\$DOAS_PS1 SSH_AUTH_SOCK } :wheel
EOF
fi