mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 07:30:23 +00:00
Hotfix: strip spaces
This commit is contained in:
parent
8998433d75
commit
72eec3e2af
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ function check_for_old_configs() {
|
||||||
|
|
||||||
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}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue