diff options
author | kib <kib@FreeBSD.org> | 2010-01-29 20:42:03 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-01-29 20:42:03 +0000 |
commit | fb7f7ffb5b8a20a367251195ca47bfb24f343604 (patch) | |
tree | 716a71fd8ecfb45d8c0b6bb69cc71465fbf612f9 /etc/rc.d | |
parent | 4f36cc6161d7d4dcfa86241b55c12f95fe21a2eb (diff) | |
download | FreeBSD-src-fb7f7ffb5b8a20a367251195ca47bfb24f343604.zip FreeBSD-src-fb7f7ffb5b8a20a367251195ca47bfb24f343604.tar.gz |
MFC r202880:
Do not check for existence of symlink source for the link action.
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-x | etc/rc.d/devfs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/devfs b/etc/rc.d/devfs index cd50b15..82278af 100755 --- a/etc/rc.d/devfs +++ b/etc/rc.d/devfs @@ -44,7 +44,7 @@ read_devfs_conf() while read action devicelist parameter; do case "${action}" in l*) for device in ${devicelist}; do - if [ -c ${device} -a ! -e ${parameter} ]; then + if [ ! -e ${parameter} ]; then ln -fs ${device} ${parameter} fi done |