diff --git a/ayarlar/servisler/Makefile b/ayarlar/servisler/Makefile index 8383f42ad..8cef2320e 100644 --- a/ayarlar/servisler/Makefile +++ b/ayarlar/servisler/Makefile @@ -281,6 +281,16 @@ kur-heimdal: dizinleri-olustur ln -sf ../init.d/heimdal ${EXTDIR}/rc.d/rc5.d/S28heimdal ln -sf ../init.d/heimdal ${EXTDIR}/rc.d/rc6.d/K42heimdal +kur-pcsc: dizinleri-olustur + install -m ${MODE} mbd/init.d/pcsc ${EXTDIR}/rc.d/init.d/ + ln -sf ../init.d/pcsc ${EXTDIR}/rc.d/rc0.d/K31pcsc + ln -sf ../init.d/pcsc ${EXTDIR}/rc.d/rc1.d/K31pcsc + ln -sf ../init.d/pcsc ${EXTDIR}/rc.d/rc2.d/K31pcsc + ln -sf ../init.d/pcsc ${EXTDIR}/rc.d/rc3.d/S31pcsc + ln -sf ../init.d/pcsc ${EXTDIR}/rc.d/rc4.d/S31pcsc + ln -sf ../init.d/pcsc ${EXTDIR}/rc.d/rc5.d/S31pcsc + ln -sf ../init.d/pcsc ${EXTDIR}/rc.d/rc6.d/K31pcsc + kur-iptables: dizinleri-olustur install -m ${MODE} mbd/init.d/iptables ${EXTDIR}/rc.d/init.d/ ln -sf ../init.d/iptables ${EXTDIR}/rc.d/rc3.d/S19iptables @@ -885,6 +895,16 @@ sil-heimdal: rm -f ${EXTDIR}/rc.d/rc5.d/S28heimdal rm -f ${EXTDIR}/rc.d/rc6.d/K42heimdal +sil-pcsc: + rm -f ${EXTDIR}/rc.d/init.d/pcsc + rm -f ${EXTDIR}/rc.d/rc0.d/K31pcsc + rm -f ${EXTDIR}/rc.d/rc1.d/K31pcsc + rm -f ${EXTDIR}/rc.d/rc2.d/K31pcsc + rm -f ${EXTDIR}/rc.d/rc3.d/S31pcsc + rm -f ${EXTDIR}/rc.d/rc4.d/S31pcsc + rm -f ${EXTDIR}/rc.d/rc5.d/S31pcsc + rm -f ${EXTDIR}/rc.d/rc6.d/K31pcsc + sil-iptables: rm -f ${EXTDIR}/rc.d/init.d/iptables rm -f ${EXTDIR}/rc.d/rc3.d/S19iptables @@ -1249,6 +1269,7 @@ sil-xinetd: kur-gdm \ kur-gpm \ kur-heimdal \ + kur-pcsc \ kur-iptables \ kur-krb5 \ kur-lprng \ @@ -1317,6 +1338,7 @@ sil-xinetd: sil-sshd \ sil-stunnel \ sil-svn \ + sil-pcsc \ sil-sysstat \ sil-unbound \ sil-virtuoso \ diff --git a/ayarlar/servisler/mbd/init.d/pcsc b/ayarlar/servisler/mbd/init.d/pcsc new file mode 100644 index 000000000..7e643bb14 --- /dev/null +++ b/ayarlar/servisler/mbd/init.d/pcsc @@ -0,0 +1,30 @@ +#!/bin/sh + +. /lib/lsb/init-functions + + +case "$1" in + start) + log_info_msg "Starting Pcsc event daemon..." + nohup /usr/bin/pcscd > /var/log/pcscd.log 2>&1 & + # pcscd --foreground --auto-exit + ;; + + stop) + killall pcsc + ;; + + reload) + /usr/bin/pcscd --hotplug + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "Usage: $0 {start|stop|restart|status}" + exit 1 + ;; +esac