diff options
author | macmpi <spam@ipik.org> | 2022-11-23 11:41:26 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2023-01-24 12:00:48 +0000 |
commit | 97d5afb4fc147db46d64faa3461db191b653eb4c (patch) | |
tree | 28ce932414984d1a0f0939c6197131b15589bae5 | |
parent | 64e5dbe8a0c697f796649db5df701b5c52f644a9 (diff) | |
download | alpine-conf-97d5afb4fc147db46d64faa3461db191b653eb4c.zip |
setup-alpine: do not restart services under ssh
openrc may stop wpa-supplicant & sshd, which may kill setup in headless environment
-rw-r--r-- | setup-alpine.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup-alpine.in b/setup-alpine.in index aea9d3f..2da6312 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -197,8 +197,8 @@ for svc in $svc_list; do done # start up the services -$MOCK openrc boot -$MOCK openrc default +$MOCK openrc ${SSH_CONNECTION:+-n} boot +$MOCK openrc ${SSH_CONNECTION:+-n} default # update /etc/hosts - after we have got dhcp address # Get default fully qualified domain name from *first* domain |