From d044f40e46f4ae97f045f27e1c03d847a8a894da Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 15 Apr 2001 13:44:05 +0000 Subject: 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 5ea72d7..13ffc82 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 -- cgit v1.1