Update build.sh
This commit is contained in:
parent
3d685cc4bc
commit
55b03ca155
6
build.sh
6
build.sh
@ -4,8 +4,7 @@ topdir=`pwd`
|
|||||||
|
|
||||||
for dir in `find /etc/lixonet/* -type d -maxdepth 0`
|
for dir in `find /etc/lixonet/* -type d -maxdepth 0`
|
||||||
do
|
do
|
||||||
# Pop directory
|
echo "Inspecting $dir..."
|
||||||
cd $topdir
|
|
||||||
|
|
||||||
dir=${dir%*/} # remove the trailing "/"
|
dir=${dir%*/} # remove the trailing "/"
|
||||||
netname=${dir##*/} # print everything after the final "/"
|
netname=${dir##*/} # print everything after the final "/"
|
||||||
@ -52,4 +51,7 @@ do
|
|||||||
find /etc/bird/$netname/ -type f -name '*.tmpl' | xargs -I '{}' rm -f {}
|
find /etc/bird/$netname/ -type f -name '*.tmpl' | xargs -I '{}' rm -f {}
|
||||||
|
|
||||||
#docker-compose up -d --build
|
#docker-compose up -d --build
|
||||||
|
|
||||||
|
# Pop directory
|
||||||
|
cd $topdir
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user