rootfs: nginx export normal

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
default-cape-symlinks
Robert Nelson 1 year ago
parent bc9a78aa67
commit c7e09b4e94

@ -74,6 +74,12 @@ fi
# setuid root ping+ping6 # setuid root ping+ping6
chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6 chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6
#Default nginx export
rm -f ./ignore/.root/etc/nginx/sites-enabled/default || true
cp -v ./ignore/.root/etc/bbb.io/templates/nginx/nginx-autoindex ./ignore/.root/etc/nginx/sites-enabled/default
cp -v ./ignore/.root/etc/bbb.io/templates/nginx/*.html ./ignore/.root/var/www/html/
rm -f ./ignore/.root/var/www/html/index.nginx-debian.html || true
mkdir -p ./ignore/.root/etc/beagleboard/gateware/board-tests/ mkdir -p ./ignore/.root/etc/beagleboard/gateware/board-tests/
mkdir -p ./ignore/.root/etc/beagleboard/gateware/default/ mkdir -p ./ignore/.root/etc/beagleboard/gateware/default/
mkdir -p ./ignore/.root/etc/microchip/ mkdir -p ./ignore/.root/etc/microchip/

@ -78,6 +78,12 @@ fi
# setuid root ping+ping6 # setuid root ping+ping6
chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6 chmod u+s ./ignore/.root/usr/bin/ping ./ignore/.root/usr/bin/ping6
#Default nginx export
rm -f ./ignore/.root/etc/nginx/sites-enabled/default || true
cp -v ./ignore/.root/etc/bbb.io/templates/nginx/nginx-autoindex ./ignore/.root/etc/nginx/sites-enabled/default
cp -v ./ignore/.root/etc/bbb.io/templates/nginx/*.html ./ignore/.root/var/www/html/
rm -f ./ignore/.root/var/www/html/index.nginx-debian.html || true
mkdir -p ./ignore/.root/etc/beagleboard/gateware/board-tests/ mkdir -p ./ignore/.root/etc/beagleboard/gateware/board-tests/
mkdir -p ./ignore/.root/etc/beagleboard/gateware/default/ mkdir -p ./ignore/.root/etc/beagleboard/gateware/default/
mkdir -p ./ignore/.root/etc/microchip/ mkdir -p ./ignore/.root/etc/microchip/

Loading…
Cancel
Save