Do not check for existence of symlink source for the link action. This
does not work for link in subdirectory, and sometimes it is useful to create symlink in advance for dynamically created device node. MFC after: 1 week
This commit is contained in:
parent
a7d4005f80
commit
b717c9ecdc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user