Skip to content

Commit b1cd1d0

Browse files
committed
all rocky call it sshd it seems
1 parent 56fe50c commit b1cd1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gpu/install_gpu_driver.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1960,7 +1960,7 @@ function harden_sshd_config() {
19601960
mv /tmp/sshd_config_new /etc/ssh/sshd_config
19611961
done
19621962
local svc=ssh
1963-
if ge_rocky9 ; then svc="sshd" ; fi
1963+
if is_rocky ; then svc="sshd" ; fi
19641964
systemctl reload "${svc}"
19651965
}
19661966

0 commit comments

Comments
 (0)