Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 3daba9de81315dec8fbb633a75da06f9 > files > 23

pam_pkcs11-0.6.2-6.fc14.x86_64.rpm

card_eventmgr {

	# Run in background? Implies debug=false if set to true
	daemon = true;

	# show debug messages?
	debug = false;
	
	# polling time in milliseconds
	timeout = 1000;
	
	#
	# list of events and actions

	# Card inserted
	event card_insert {
		# what to do if an action fail?
		# ignore  : continue to next action
		# return  : end action sequence
		# quit    : end program
		on_error = ignore ;

		# You can enter several, comma-separated action entries
		# they will be executed in turn
		action = "play /usr/share/sounds/warning.wav",
			"xscreensaver-command -deactivate";
	}

	# Card has been removed
	event card_remove { 
		on_error = ignore;
		action = "play /usr/share/sounds/error.wav",
			"xscreensaver-command -lock";
	}

	# Too much time locked session
	event timeout { 
	}
}