diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-15 16:26:04 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2022-07-15 16:33:52 +0200 |
commit | d6ac8e57453040d9f6523098fe3f969cecf32e9d (patch) | |
tree | bbb1f8a89d61a3d4787968bfcfcc64f99f9fcec3 /uniso.c | |
parent | 0660f4ca87c4c978589f923e0e2d0eca856be6b4 (diff) | |
download | alpine-conf-d6ac8e57453040d9f6523098fe3f969cecf32e9d.zip |
setup-alpine: ensure unintentional ssh diconnect
Avoid restart network when running over ssh. hostname is now a
dependency of networking so openrc will restart networking together with
hostname, which may lead to disconnection when running over ssh.
Solve this by only restart hostname if SSH_CONNECTION is empty.
fixes https://gitlab.alpinelinux.org/alpine/aports/-/issues/14018
Diffstat (limited to 'uniso.c')
0 files changed, 0 insertions, 0 deletions