403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/12062/cwd/usr/sbin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/12062/cwd/usr/sbin/update-reader.conf
#!/bin/sh

# Merge all reader config file snippets for pcsc-lite from a reader.conf.d
# directory into a reader.conf.

CONF=/etc/reader.conf
CONFDIR=/etc/reader.conf.d

umask 0022
set -e

trap cleanup EXIT
cleanup()
{
    test -z "$tmpfile" || rm -f "$tmpfile"
}

tmpfile=`mktemp /tmp/reader.conf.XXXXXX`

cat > "$tmpfile" << EOF
# Configuration file for pcsc-lite
#
# Don't modify this file. Instead put a file or modify the files in
# /etc/reader.conf.d/ and run /usr/sbin/update-reader.conf
# afterwards.  Note that when starting pcscd with the init script,
# update-reader.conf will be run automatically.
#
# Note also that this file should include configuration for serial and PCMCIA
# readers only; USB readers should _not_ be configured here.

EOF

for f in `ls -1d "$CONFDIR"/*.conf 2>/dev/null` ; do
    echo "# $f" >> "$tmpfile"
    cat "$f" >> "$tmpfile"
    echo >> "$tmpfile"
done

echo "# End of file" >> "$tmpfile"

cat "$tmpfile" > "$CONF"


Youez - 2016 - github.com/yon3zu
LinuXploit