dotfiles/.bin/OLD/KAPUTT/vidoas

7 lines
112 B
Plaintext
Raw Normal View History

#!/bin/ksh
TMP=$(mktemp)
cp /etc/doas.conf $TMP
$EDITOR $TMP
doas -C $TMP && mv $TMP /etc/doas.conf;
rm -f $TMP