Hello everyone. I'm new to freebsd and just got my box running and started installing stuff on it. I messed up rc.conf and now when I boot it tells me this.
I assume that is because I wrote this in rc.conf
instead of this
or maybe because I forgot a quote on
Either way I need to go and edit /etc/rc.conf. I login as root and try to use vim to edit it and I get these errors.
How can I edit /etc/rc.conf? Thanks in advance.
Code:
Loading configuration files.
apache22_enable: not found
/etc/rc.conf: 17: Syntax error: Unterminated quoted string
Enter full pathname of shell or RETURN for /bin/sh:
I assume that is because I wrote this in rc.conf
Code:
apache22_enable = "YES"
instead of this
Code:
apache22_enable="YES"
or maybe because I forgot a quote on
Code:
webmin_enable="yes
Either way I need to go and edit /etc/rc.conf. I login as root and try to use vim to edit it and I get these errors.
Code:
W10: Warning: Changing a readonly file
E303: Unable to open swap file for "etc/rc.conf", recovery impossible
Press ENTER or type command to continue.
Code:
"/etc/rc.conf" E212: Can't open file for writing
Press ENTER or type command to continue.
How can I edit /etc/rc.conf? Thanks in advance.