freeBSD 配置/etc/rc.conf錯誤

配置freeBSD的/etc/rc.conf文件時結尾忘記打上雙引號了,致使重啓系統時異常shell

錯誤提示:ide

/etc/rc.conf:21syntax error:unterminated quoted string 
enter full pathname of shell or return for /bin/sh:spa

在這裏卡住了,回車後貌似進入相似單用戶模式(#模式),在這裏不少命令都沒法使用string

解決:it

一、直接Enter進入#模式class

二、掛載各個節點:mount -a配置

三、這樣系統命令就能夠使用了,接着修改正確/etc/rc.conf重啓便可error

相關文章
相關標籤/搜索