diff --git a/usr/local/share/bastille/edit.sh b/usr/local/share/bastille/edit.sh index 636f7771..cf37b877 100644 --- a/usr/local/share/bastille/edit.sh +++ b/usr/local/share/bastille/edit.sh @@ -81,6 +81,9 @@ else rc|rc.conf) FILE="/root/etc/rc.conf" ;; + resolv|resolv.conf) + FILE="/root/etc/resolv.conf" + ;; *) if [ ! -f "${bastille_jailsdir}/${TARGET}/${FILE}" ]; then error_exit "[ERROR]: File not found: ${FILE}" @@ -93,4 +96,4 @@ if [ -z "${EDITOR}" ]; then EDITOR=edit fi -"${EDITOR}" "${bastille_jailsdir}/${TARGET}/${FILE}" \ No newline at end of file +"${EDITOR}" "${bastille_jailsdir}/${TARGET}/${FILE}"