blob: 3a730a0714076e6e012421fedfb1239dc0562f05 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
#
# $FreeBSD$
# some defs
GENKDMCONF=%%PREFIX%%/bin/genkdmconf
KDMCONFDIR=%%PREFIX%%/share/config/kdm
#first, set a path for an X app
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
export PATH
#Configure kdm if needed
if [ ! -r ${KDMCONFDIR}/kdmrc ]; then
echo "Generating KDM configuration";
${GENKDMCONF} --no-old --in ${KDMCONFDIR};
else
echo "Updating KDM configuration";
${GENKDMCONF} --in ${KDMCONFDIR};
fi
|