Skip to content

Commit 4a1bf52

Browse files
authored
fix: 修复支持不同系统发行版本的不同路径的问题
1 parent 0ac7858 commit 4a1bf52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extra_scripts/ifupdown-install.service

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ After=network.target
55
[Service]
66
Type=oneshot
77
ExecStart=/usr/local/bin/install_ifupdown.sh
8-
ExecStartPost=/sbin/reboot
8+
ExecStartPost=/usr/bin/env reboot
99
RemainAfterExit=yes
1010

1111
[Install]
12-
WantedBy=multi-user.target
12+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)