mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
vdr: fix old config import.
This commit is contained in:
@@ -29,7 +29,7 @@ OLD_DIR="/opt/vdr/etc"
|
||||
NEW_DIR="/etc/vdr"
|
||||
|
||||
for conf in ${OLD_DIR}/*.conf; do
|
||||
[ -f "${conf}" ] && continue
|
||||
[ -f "${conf}" ] || continue
|
||||
|
||||
conf="$(basename ${conf})"
|
||||
mv -b "${OLD_DIR}/${conf}" "${NEW_DIR}/${conf}"
|
||||
|
||||
Reference in New Issue
Block a user