#!/bin/bash
echo;
echo;
tijd=$(date +%d/%m/%Y-%X);
echo "Raspberry Status "$tijd;
echo "===========================================================================";
echo;
vcgencmd measure_temp;
echo;
vcgencmd measure_volts;
echo;
pistatus;
echo;
echo "===========================================================================";
echo "Status Samba:";
systemctl status smbd | grep "Loaded";
systemctl status smbd | grep "Active";
echo "===========================================================================";
echo "Status mount SSD:";
if mountpoint -q "/store"; then
   echo "     SSD is mounted";
else 
   echo "     SSD is not mounted";
fi
echo "===========================================================================";
echo;
read -n 1 -p "Press any key to continue..." key
echo;
