dotfiles/.bin/OLD/KAPUTT/vidoas
2024-02-14 07:55:58 +01:00

7 lines
112 B
Bash
Executable File

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