Made the bundle.sh of the nweb overlay better to read

This commit is contained in:
bauen1 2017-06-19 19:27:54 +02:00
parent ad1c8f90cc
commit b7a0182ac3
No known key found for this signature in database
GPG Key ID: FF0AAF5E0812BA9C

View File

@ -22,15 +22,18 @@ cc $CFLAGS $SRC_DIR/nweb23.c -o nweb
echo "nweb has been build." echo "nweb has been build."
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr" DESTDIR="$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs"
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/bin"
install -m755 nweb "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/bin/nweb" install -d -m755 "$DESTDIR/usr"
#install -m755 client "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/usr/bin/client" install -d -m755 "$DESTDIR/usr/bin"
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/srv/www" # FHS compliant location install -m755 nweb "$DESTDIR/usr/bin/nweb"
install -m644 "$SRC_DIR/index.html" "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/srv/www/index.html" #install -m755 client "$DESTDIR/usr/bin/client"
install -m644 "$SRC_DIR/favicon.ico" "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/srv/www/favicon.ico" install -d -m755 "$DESTDIR/srv/www" # FHS compliant location
install -d -m755 "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/etc" install -m644 "$SRC_DIR/index.html" "$DESTDIR/srv/www/index.html"
install -m755 "$SRC_DIR/nweb.sh" "$MAIN_SRC_DIR/work/src/minimal_overlay/rootfs/etc/autorun/90_nweb.sh" install -m644 "$SRC_DIR/favicon.ico" "$DESTDIR/srv/www/favicon.ico"
install -d -m755 "$DESTDIR/etc"
install -d -m755 "$DESTDIR/etc/autorun"
install -m755 "$SRC_DIR/nweb.sh" "$DESTDIR/etc/autorun/90_nweb.sh"
echo "nweb has been installed." echo "nweb has been installed."
echo "it will be autostarted on boot" echo "it will be autostarted on boot"