From 7b8467e22f14aefb3e0c65ba8fbc1b232be6ce8f Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 15 Apr 2001 13:44:05 +0000 Subject: [PATCH] In the /etc/rc startup script a soft link is created from /var/run/log to /dev/log like this: if [ ! -h /dev/log ]; The man page for test(1) says that the -h switch is depracated and that users should NOT rely on it being available. It suggest the -L switch instead. They both do the same thing: check for the existence of the symbolic link. PR: 26596 Submitted by: mikem --- etc/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/rc b/etc/rc index 5ea72d70d93a..13ffc824bc2e 100644 --- a/etc/rc +++ b/etc/rc @@ -445,7 +445,7 @@ case ${syslogd_enable} in [Yy][Ee][Ss]) # Transitional symlink (for the next couple of years :) until all # binaries have had a chance to move towards /var/run/log. - if [ ! -h /dev/log ]; then + if [ ! -L /dev/log ]; then # might complain for r/o root f/s ln -sf /var/run/log /dev/log fi