Learn how to verify if the scripts located in the /lib/systemd/system-shutdown directory are being executed during system shutdown. This article provides step-by-step instructions to ensure the proper functioning of these scripts.