#!/bin/sh set -ex if [ "$(id -u)" -eq 0 ] ; then # from: pkg_info -mz cat > /tmp/pkglist < /etc/doas.conf exit 0; fi if ! [ -r /etc/doas.conf ] ; then echo "Run as root first, then as a regular user" fi # TODO: Desktop setup