Use rvim for doasedit

This commit is contained in:
Sam A. 2022-07-13 11:07:41 +02:00
parent ff1ee17d76
commit eb15ef3302
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -21,7 +21,7 @@ doasedit() {
doas -L
doas -u root sh -c \
"cp /etc/doas.conf /tmp/doas.conf \
&& $EDITOR /tmp/doas.conf \
&& rvim /tmp/doas.conf \
&& doas -C /tmp/doas.conf \
&& mv /tmp/doas.conf /etc/doas.conf \
&& echo 'ok' \