diff options
Diffstat (limited to 'trunk/sbin/fndSession')
-rwxr-xr-x | trunk/sbin/fndSession | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/trunk/sbin/fndSession b/trunk/sbin/fndSession deleted file mode 100755 index 4fd7c7c..0000000 --- a/trunk/sbin/fndSession +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -#--------------------------------------------------------------- -# Project : Mandriva Linux -# Module : sbin -# File : fndSession -# Version : $Id$ -# Author : Frederic Lepied -# Created On : Mon May 30 10:43:12 2005 -# Purpose : find sessions for display managers -#--------------------------------------------------------------- - -umask 022 - -FILES=`/bin/ls /etc/X11/dm.d/*.conf 2> /dev/null` - -if [ $? != 0 ]; then - exit 0 -fi - -for f in $FILES; do - EXEC= - FNDSESSION_EXEC= - eval `grep 'EXEC=' "$f"` - if [ -x "$EXEC" -a -n "$FNDSESSION_EXEC" ]; then - $FNDSESSION_EXEC - fi -done - -# fndSession ends here |