From: Roland Häder Date: Sat, 15 Apr 2017 13:01:53 +0000 (+0200) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9cf6d229dd5ad5d87e30ded23d00d4e9376e6203;p=jprojects-scripts.git Continued a bit: - added mount-intenso/transport.sh for easy mounting (you need sudo) of sticks - you may have to customize these as they are scripts from my local system - removed long ago obsolete projects as they would make it hard having these EJBs twice on the system Signed-off-by: Roland Häder --- diff --git a/.jprojects.sh b/.jprojects.sh index 769724c..989b339 100644 --- a/.jprojects.sh +++ b/.jprojects.sh @@ -16,8 +16,9 @@ LIBRARIES="jcore jcoreee \ jmailer-ee \ jcore-swing \ jcustomer-core jcustomer-lib \ - jshop-core jshop-ee-lib jshop-ejb \ - jshop-receipt-lib jshop-receipt-ejb" + jproduct-core jproduct-lib \ + jshop-core jshop-ee-lib \ + jshop-receipt-lib" # Applications and their special libs/EJBs APPLICATIONS="pizzaservice-core pizzaservice-lib pizzaservice-mailer pizzaservice-ejb pizzaservice-swing \ diff --git a/mount-intenso.sh b/mount-intenso.sh new file mode 100755 index 0000000..2fb7535 --- /dev/null +++ b/mount-intenso.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +LABEL="INTENSO" +MOUNT_POINT="/media/${USER}/${LABEL}" +DEV_PATH="/dev/disk/by-label/${LABEL}" +#MOUNT_OPTIONS="rw,nosuid,nodev,noexec,noatime,data=ordered,errors=remount-ro,uid=1000,gid=1000" +MOUNT_OPTIONS="rw,nosuid,nodev,noexec,noatime,data=ordered,errors=remount-ro" + +if [ ! -d "${MOUNT_POINT}" ] +then + sudo mkdir -p ${MOUNT_POINT} +fi + +sudo mount -t ext4 -o "${MOUNT_OPTIONS}" "${DEV_PATH}" "${MOUNT_POINT}" diff --git a/mount-transport.sh b/mount-transport.sh new file mode 100755 index 0000000..d35e281 --- /dev/null +++ b/mount-transport.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +LABEL="Transport" +MOUNT_POINT="/media/${USER}/${LABEL}" +DEV_PATH="/dev/disk/by-label/${LABEL}" +#MOUNT_OPTIONS="rw,nosuid,nodev,noexec,noatime,data=ordered,errors=remount-ro,uid=1000,gid=1000" +MOUNT_OPTIONS="rw,nosuid,nodev,noexec,noatime,data=ordered,errors=remount-ro" + +if [ ! -d "${MOUNT_POINT}" ] +then + sudo mkdir -p ${MOUNT_POINT} +fi + +sudo mount -t ext4 -o "${MOUNT_OPTIONS}" "${DEV_PATH}" "${MOUNT_POINT}"