Process new modified (i.e. added) dhcp binding files (Git flag MM) so that new files can be added (Fixes #1)
This commit is contained in:
2
sync-router
Executable file → Normal file
2
sync-router
Executable file → Normal file
@@ -42,7 +42,7 @@ do
|
|||||||
echo removing $filename as it is no longer in the repository
|
echo removing $filename as it is no longer in the repository
|
||||||
ssh -q $router "delete /force $fileto$filename"
|
ssh -q $router "delete /force $fileto$filename"
|
||||||
;;
|
;;
|
||||||
A |M)
|
A |M|MM)
|
||||||
echo updating and uploading modified file $filename
|
echo updating and uploading modified file $filename
|
||||||
head -2 $filename | while read tag value
|
head -2 $filename | while read tag value
|
||||||
do
|
do
|
||||||
|
|||||||
Reference in New Issue
Block a user