diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-10-01 13:29:45 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-10-01 13:29:45 +0000 |
| commit | 7206028152b8c96c70e558afad497b6c42d6d505 (patch) | |
| tree | 1547bd1d0f16073194e852bff171ee4908d6626c | |
| parent | 7e3998a3deeed2125ceaf3b576a2fabe541a8116 (diff) | |
Notes
| -rwxr-xr-x | etc/rc.d/bootconf.sh | 2 | ||||
| -rw-r--r-- | etc/rc.d/diskless | 2 | ||||
| -rw-r--r-- | etc/rc.d/resolv | 2 | ||||
| -rwxr-xr-x | etc/rc.d/syslogd | 2 | ||||
| -rw-r--r-- | etc/rc.d/tmp | 2 | ||||
| -rw-r--r-- | etc/rc.d/var | 2 | ||||
| -rw-r--r-- | etc/rc.diskless2 | 2 | ||||
| -rw-r--r-- | include/Makefile | 2 | ||||
| -rw-r--r-- | share/examples/Makefile | 2 | ||||
| -rwxr-xr-x | tools/tools/upgrade/move_aout_libs.sh | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/etc/rc.d/bootconf.sh b/etc/rc.d/bootconf.sh index 1fdc20139201..aa2dc1be5a13 100755 --- a/etc/rc.d/bootconf.sh +++ b/etc/rc.d/bootconf.sh @@ -15,7 +15,7 @@ bootconf_start() if [ ! -e /etc/etc.current ]; then return 0 fi - if [ -h /etc/etc.default ]; then + if [ -L /etc/etc.default ]; then def=`ls -ld /etc/etc.default 2>&1` default="${def##*-> etc.}" else diff --git a/etc/rc.d/diskless b/etc/rc.d/diskless index 6426caf5bdb8..cef6e8a4275e 100644 --- a/etc/rc.d/diskless +++ b/etc/rc.d/diskless @@ -103,7 +103,7 @@ fi # XXX: mtree runs too early to create any directories needed in /tmp, # so if /var/tmp == /tmp, then you don't get a vi.recover. # -if [ ! -h /tmp ]; then +if [ ! -L /tmp ]; then mount_md ${tmpsize:=64m} /tmp 2 chmod 01777 /tmp fi diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv index 6426caf5bdb8..cef6e8a4275e 100644 --- a/etc/rc.d/resolv +++ b/etc/rc.d/resolv @@ -103,7 +103,7 @@ fi # XXX: mtree runs too early to create any directories needed in /tmp, # so if /var/tmp == /tmp, then you don't get a vi.recover. # -if [ ! -h /tmp ]; then +if [ ! -L /tmp ]; then mount_md ${tmpsize:=64m} /tmp 2 chmod 01777 /tmp fi diff --git a/etc/rc.d/syslogd b/etc/rc.d/syslogd index 9e1a0ee042bb..03b6aad8c18c 100755 --- a/etc/rc.d/syslogd +++ b/etc/rc.d/syslogd @@ -37,7 +37,7 @@ syslogd_precmd() { # Transitional symlink for old binaries # - if [ ! -h /dev/log ]; then + if [ ! -L /dev/log ]; then ln -sf /var/run/log /dev/log fi rm -f /var/run/log diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp index 6426caf5bdb8..cef6e8a4275e 100644 --- a/etc/rc.d/tmp +++ b/etc/rc.d/tmp @@ -103,7 +103,7 @@ fi # XXX: mtree runs too early to create any directories needed in /tmp, # so if /var/tmp == /tmp, then you don't get a vi.recover. # -if [ ! -h /tmp ]; then +if [ ! -L /tmp ]; then mount_md ${tmpsize:=64m} /tmp 2 chmod 01777 /tmp fi diff --git a/etc/rc.d/var b/etc/rc.d/var index 6426caf5bdb8..cef6e8a4275e 100644 --- a/etc/rc.d/var +++ b/etc/rc.d/var @@ -103,7 +103,7 @@ fi # XXX: mtree runs too early to create any directories needed in /tmp, # so if /var/tmp == /tmp, then you don't get a vi.recover. # -if [ ! -h /tmp ]; then +if [ ! -L /tmp ]; then mount_md ${tmpsize:=64m} /tmp 2 chmod 01777 /tmp fi diff --git a/etc/rc.diskless2 b/etc/rc.diskless2 index 5c17585c6400..f7a4f74cd012 100644 --- a/etc/rc.diskless2 +++ b/etc/rc.diskless2 @@ -94,7 +94,7 @@ fi # XXX: mtree runs too early to create any directories needed in /tmp, # so if /var/tmp == /tmp, then you don't get a vi.recover. # -if [ ! -h /tmp ]; then +if [ ! -L /tmp ]; then mount_md ${tmpsize:=64m} /tmp 2 chmod 01777 /tmp fi diff --git a/include/Makefile b/include/Makefile index 0212d8d3d8d5..19f6189a0140 100644 --- a/include/Makefile +++ b/include/Makefile @@ -84,7 +84,7 @@ INCSLINKS+= posix4/$i ${INCLUDEDIR}/$i copies: .for i in ${LDIRS} ${LSYMSUBDIRS} machine - if [ -h ${DESTDIR}/usr/include/$i ]; then \ + if [ -L ${DESTDIR}/usr/include/$i ]; then \ rm -f ${DESTDIR}/usr/include/$i; \ fi .endfor diff --git a/share/examples/Makefile b/share/examples/Makefile index 72ea6bf69a23..bd7f01443284 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -262,7 +262,7 @@ beforeinstall: ${SHARED} etc-examples copies: .for i in ${LDIRS} - if [ -h ${DESTDIR}${BINDIR}/$i ]; then \ + if [ -L ${DESTDIR}${BINDIR}/$i ]; then \ rm -f ${DESTDIR}${BINDIR}/$i; \ fi .endfor diff --git a/tools/tools/upgrade/move_aout_libs.sh b/tools/tools/upgrade/move_aout_libs.sh index b00af5204372..e5252000dc25 100755 --- a/tools/tools/upgrade/move_aout_libs.sh +++ b/tools/tools/upgrade/move_aout_libs.sh @@ -88,7 +88,7 @@ move_if_aout ( ) do # Don't touch symbolic links yet. It's not clear how # they should be handled. - if test -h $file; then + if test -L $file; then else # Check that this is a normal file. if test -f $file; then |
