dtlogin: rename PAM config file.
This commit is contained in:
@@ -56,7 +56,7 @@ CPP_TARGETS = \
|
|||||||
Xstartup current.session \
|
Xstartup current.session \
|
||||||
display.current.session display.home.session \
|
display.current.session display.home.session \
|
||||||
dtlslocale dtprofile \
|
dtlslocale dtprofile \
|
||||||
home.session dtlogin.pam.conf \
|
home.session pam.d.dtlogin \
|
||||||
$(EXTRA_CPP_TARGETS)
|
$(EXTRA_CPP_TARGETS)
|
||||||
|
|
||||||
AllTarget($(CPP_TARGETS))
|
AllTarget($(CPP_TARGETS))
|
||||||
@@ -92,5 +92,5 @@ CppSourceFile(dtprofile,dtprofile.src,$(LOCAL_CPP_DEFINES),)
|
|||||||
CppSourceFile(home.session,home.session.src,$(LOCAL_CPP_DEFINES),)
|
CppSourceFile(home.session,home.session.src,$(LOCAL_CPP_DEFINES),)
|
||||||
|
|
||||||
#if defined(HasPamLibrary) && HasPamLibrary
|
#if defined(HasPamLibrary) && HasPamLibrary
|
||||||
CppSourceFile(dtlogin.pam.conf,dtlogin.pam.conf.src,$(LOCAL_CPP_DEFINES),)
|
CppSourceFile(pam.d.dtlogin,pam.d.dtlogin.src,$(LOCAL_CPP_DEFINES),)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -88,10 +88,15 @@ fi
|
|||||||
#define PAM_D /etc/pam.d
|
#define PAM_D /etc/pam.d
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if [ ! -f PAM_D/dtlogin ]; then
|
for i in CDE_INSTALLATION_TOP/config/pam.d.*
|
||||||
if [ -f CDE_INSTALLATION_TOP/config/dtlogin.pam.conf ]; then
|
do
|
||||||
/bin/cp CDE_INSTALLATION_TOP/config/dtlogin.pam.conf PAM_D/dtlogin
|
conf=PAM_D/${i##*.}
|
||||||
/bin/chmod 644 PAM_D/dtlogin
|
|
||||||
|
if [ ! -f $conf ]; then
|
||||||
|
if [ -f $i ]; then
|
||||||
|
/bin/cp $i $conf
|
||||||
|
/bin/chmod 644 $conf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user