sonic-buildimage/files
Stepan Blyshchak 8ab448a852 [swss.sh/syncd.sh] Trap only on EXIT (#11590)
When using trap on SIGTERM the script will not react to the SIGTERM signal sent while a child is executing.
I.e, the following script does not react on SIGTERM sent to it if it is
waiting for sleep to finish:

```

trap "echo Handled SIGTERM" 0 2 3 15

echo "Before sleep"
sleep inf
echo "After sleep"
```

Instead, trap only on EXIT which covers also a scenario with exit on
SIGINT, SIGTERM.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2022-08-11 20:38:20 +00:00
..
Aboot [Build]: Support to use symbol links for lazy installation targets to reduce the image size (#10923) 2022-07-05 20:57:49 +00:00
apt Add mirrors for reproducible build (#6813) 2021-02-19 11:51:34 -08:00
build/versions [202012 BRCM SAI 4.3.7.0] Pick up fixes and make up BRCM SAI version to 4.3.7.0 (#11681) 2022-08-10 15:02:47 -07:00
build_scripts [hostcfgd]: Add Ability To Configure Feature During Run-time (#6700) 2021-03-15 19:09:31 -07:00
build_templates [202012]Support different DSCP_TO_TC_MAP for T1 in dualtor deployment (#11580) 2022-08-01 08:59:45 -07:00
dhcp ZTP infrastructure changes to support DHCP discovery provisioning data (#3298) 2019-12-10 08:16:56 -08:00
docker Enabling ipv6 support on docker container network. This is needed (#5418) 2020-09-22 08:32:17 -07:00
image_config Update WARM START FINALIZER to wait for linkmgrd to reconcile (#11477) 2022-08-09 21:05:12 +00:00
initramfs-tools [Arista] Fix arista-net initramfs hook (#10626) 2022-04-20 10:03:37 -07:00
scripts [swss.sh/syncd.sh] Trap only on EXIT (#11590) 2022-08-11 20:38:20 +00:00
sshd Remove SSH host keys after installing the custom version of sshd (#10633) (#11140) 2022-06-16 11:47:04 -07:00