edu2015關機沒還原,重新開機才還原的解決方法
1.先切換到teacher
2.CTRL + ALT +T 開啟終端機
3. teacher@teacher-ntpc:~$ cd /etc/rc0.d
teacher@teacher-ntpc:/etc/rc0.d$ sudo vi K99wol_poweroff
[sudo] password for teacher:
#!/bin/bash
ifconfig eth0 down
#poweroff ---〉poweroff前面加上#後存檔離開
4.重開機
2.CTRL + ALT +T 開啟終端機
3. teacher@teacher-ntpc:~$ cd /etc/rc0.d
teacher@teacher-ntpc:/etc/rc0.d$ sudo vi K99wol_poweroff
[sudo] password for teacher:
#!/bin/bash
ifconfig eth0 down
#poweroff ---〉poweroff前面加上#後存檔離開
4.重開機
留言
張貼留言