From 801a41a0c67ff402510a75439e5a3fbc9ec731fa Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Mon, 29 Jul 2024 17:37:54 +0200 Subject: [PATCH] Alpine Linux rc-service is run by service, remove call in netlink. --- netlink.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/netlink.pl b/netlink.pl index 062d80d..e55d9b1 100755 --- a/netlink.pl +++ b/netlink.pl @@ -695,9 +695,6 @@ sub good { sub tcpbench_server_startup { # requires echo 1 > /proc/sys/net/ipv6/bindv6only my @sshcmd = ('ssh', '-f', $lnx_r_ssh, 'service', 'tcpbench', 'start'); - printcmd(@sshcmd) - and warn "Start linux tcpbench server with '@sshcmd' failed: $?"; - @sshcmd = ('ssh', '-f', $lnx_r_ssh, 'rc-service', 'tcpbench', 'start'); printcmd(@sshcmd) and warn "Start linux tcpbench server with '@sshcmd' failed: $?"; @@ -708,9 +705,6 @@ sub tcpbench_server_startup { sub tcpbench_server_shutdown { my @sshcmd = ('ssh', '-f', $lnx_r_ssh, 'service', 'tcpbench', 'stop'); - printcmd(@sshcmd) - and die "Stop linux tcpbench server with '@sshcmd' failed: $?"; - @sshcmd = ('ssh', '-f', $lnx_r_ssh, 'rc-service', 'tcpbench', 'stop'); printcmd(@sshcmd) and die "Stop linux tcpbench server with '@sshcmd' failed: $?";