projects/aports·blob master · refs

14 lines · 230 B

1#!/bin/sh
2
3PIPE="/run/cloud-init/hook-hotplug-cmd"
4
5mkfifo -m700 $PIPE
6
7while true; do
8 # shellcheck disable=SC2162
9 read args < $PIPE
10 # shellcheck disable=SC2086
11 exec /usr/bin/cloud-init devel hotplug-hook $args
12done
13
14exit