![]() Server : Apache/2.4.52 (Ubuntu) System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64 User : www-data ( 33) PHP Version : 8.1.2-1ubuntu2.21 Disable Function : NONE Directory : /usr/share/initramfs-tools/scripts/local-bottom/ |
#!/bin/sh set -e PREREQ="" prereqs() { echo "$PREREQ" } case $1 in prereqs) prereqs exit 0 ;; esac # Hook for stopping smartcard reading software if [ ! -x /usr/sbin/pcscd ]; then exit 0 fi . /scripts/functions if PID="$(cat /run/pcscd.pid)" 2>/dev/null && [ "$(readlink -f "/proc/$PID/exe")" = "/usr/sbin/pcscd" ]; then log_begin_msg "Stopping pcscd" kill -TERM "$PID" log_end_msg fi