diff --git a/details/开机IP自检及更新脚本.md b/details/开机IP自检及更新脚本.md index 7723b73..2674f5f 100644 --- a/details/开机IP自检及更新脚本.md +++ b/details/开机IP自检及更新脚本.md @@ -9,3 +9,7 @@ apt-get install python3-netifaces 在/root目录下使用rz工具或者使用vi/vim创建文件并复制脚本文本。 3.将[ipupdater.service](../files/ipupdater.service)拷贝至`/lib/systemd/system/`目录下 + +4.执行`systemctl daemon-reload`重载系统服务。 + +5.执行`systemctl enable ipupdater.service`将脚本设置为开机启动 \ No newline at end of file