Skip to content

Commit

Permalink
Alpine Linux rc-service is run by service, remove call in netlink.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Jul 29, 2024
1 parent 1b5e8f8 commit 801a41a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions netlink.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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: $?";

Expand All @@ -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: $?";

Expand Down

0 comments on commit 801a41a

Please sign in to comment.