#!/bin/bash # /tools/rpi-mount-bootware # Mount the filesystem labeled SLKhwm_bw under /slkhwm_bw set -e mountpoint="/slkhwm_bw" # Create mountpoint if it doesn't exist [ -d "$mountpoint" ] || mkdir -p "$mountpoint" # Mount by label echo "Mounting filesystem LABEL=SLKhwm_bw at $mountpoint ..." mount LABEL=SLKhwm_bw "$mountpoint" echo "Mounted successfully."