pcsc.servis
This commit is contained in:
parent
b82dae14f1
commit
3dffeaa135
|
@ -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 \
|
||||
|
|
|
@ -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 </dev/null >> /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
|
Loading…
Reference in New Issue