add udev info to log

This commit is contained in:
Benjamin Bryan
2016-10-23 19:35:57 -07:00
parent 30ee175cff
commit 8572a0b21f

View File

@@ -17,6 +17,8 @@ find $LOGPATH -mtime +$LOGLIFE -type f -delete
# Set Home to home folder of user that is setup to run MakeMKV
export HOME="/root/"
# Output UDEV info
udevadm info -q env -n ${DEVNAME} >> $LOG
if [ $ID_FS_TYPE == "udf" ]; then
echo "identified udf" >> $LOG