commit d31a434

hovercats  ·  2026-08-02 17:10:43 +0000 UTC
parent bbb005e
correct paths for sshd and ntpd
2 files changed,  +2, -2
+1, -1
1@@ -4,7 +4,7 @@ flag e +
2 
3 switch($1) {
4 case -s
5-	exec /usr/bin/ntpd -d > /tmp/.ntpd.log >[2=1]
6+	exec ntpd -d > /tmp/.ntpd.log >[2=1]
7 case -k
8 	PID=`{pidof ntpd}
9 	exec kill -9 $PID
+1, -1
1@@ -4,7 +4,7 @@ flag e +
2 
3 switch($1) {
4 case -s
5-	exec /usr/bin/sshd -D
6+	exec /bin/sshd -D
7 case -k
8 	PID=~{pidof sshd}
9 	exec kill -9 $PID