Jan Niehusmann <[EMAIL PROTECTED]> writes:
> After upgrading initscripts, I was unable to login. The reason was that I
> didn't have an /etc/sysconfig/system file, and /etc/profile.d/tmpdir.sh
> does 'exit' if this file is missing.
This patch satisfy you ? :
Index: tmpdir.sh
===================================================================
RCS file: /home/cvs/cooker/soft/initscripts/mandrake/tmpdir.sh,v
retrieving revision 1.3
diff -u -u -r1.3 tmpdir.sh
--- tmpdir.sh 2000/08/28 22:06:07 1.3
+++ tmpdir.sh 2000/09/29 12:28:13
@@ -5,7 +5,7 @@
if [ -f /etc/sysconfig/system ];then
source /etc/sysconfig/system
else
- exit
+ return
fi
if [ "$SECURE_TMP" = "yes" -o "$SECURE_TMP" = "1" -o "$SECURE_TMP" = "YES" ];then
>
> Jan
>
>
--
MandrakeSoft Inc http://www.chmouel.org
Paris, France --Chmouel