mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Bugfix: missing whitespace
This commit is contained in:
parent
35f915d42e
commit
8998433d75
@ -213,7 +213,7 @@ function check_for_old_configs() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for file in /etc/systemd/network/raspap-*.net*; do
|
for file in /etc/systemd/network/raspap-*.net*; do
|
||||||
if [-f "${file}" ]; then
|
if [ -f "${file}" ]; then
|
||||||
filename = $(basename $file)
|
filename = $(basename $file)
|
||||||
sudo cp "$file" "${raspap_dir}/backups/${filename}.`date +%F-%R`"
|
sudo cp "$file" "${raspap_dir}/backups/${filename}.`date +%F-%R`"
|
||||||
sudo ln -sf "${raspap_dir}/backups/${filename}.`date +%F-%R`" "${raspap_dir}/backups/${filename}"
|
sudo ln -sf "${raspap_dir}/backups/${filename}.`date +%F-%R`" "${raspap_dir}/backups/${filename}"
|
||||||
|
Loading…
Reference in New Issue
Block a user