mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
Upgrade to 21.3 release. Add tzdata dependancy, remove e2fsprogs-extra dependancy. Add logrotate configuration file. Add cloud-init-hotplugd init.d script and simple daemon for new network hotplug functionality in this release. Remove some more unnecessary (doc) files from package. Update README.Alpine to add known issue (and solution) for SSH access with locked user accounts, and to detail how to use hotplug functionality.
15 lines
230 B
Bash
15 lines
230 B
Bash
#!/bin/sh
|
|
|
|
PIPE="/run/cloud-init/hook-hotplug-cmd"
|
|
|
|
mkfifo -m700 $PIPE
|
|
|
|
while true; do
|
|
# shellcheck disable=SC2162
|
|
read args < $PIPE
|
|
# shellcheck disable=SC2086
|
|
exec /usr/bin/cloud-init devel hotplug-hook $args
|
|
done
|
|
|
|
exit
|