mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
a7607816bf
commit
c4c1575a01
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue