Festplatten read/write script for Timer recording

Status
Not open for further replies.

stinkefisch

Registered
Messages
183
###################################
# Remount_HDD_rw_script #
# Scripted by stinkefisch for fun #
###################################
#
# Problem:
#
# Some hard drives are going into standby mode after a few minutes and when the recording timer
# kicks in (at night time) no data gets written to the disk because the disk is mounted in
# ready-only and the recording fails.
#
# Info:
#
# This script wakes up your Harddrive 2 mins before the recording Event
# and remounts the Harddrive read/write for recording.
# The script checks for a new added timer every 60 sec and compares
# the timer with the current epoch time of the system.
#
# I have tested this script with an AAF E2 image on Kathrein UFS 910 with external Seagate Harddrive on BA.
#
# Instructions
#
# 1. Login via telnet
#
# 2. mkdir -p /var/etc/Remount_HDD_rw_script
#
# 3. Ftp bot Remount_HDD_rw_script.sh & start_HDD_script files to /var/etc/Remount_HDD_rw_script
#
# 4. chmod 755 /var/etc/Remount_HDD_rw_script/*
#
# 5. Add this line
# /var/etc/Remount_HDD_rw_script/start_HDD_script.sh
# to the end of the /var/etc/autostart/start.sh file
# ### Caution before the exit command ###
#
# 6. Restart your receiver and simsalabim ..........
#
# Have fun
#
##################################################################################################
 
Status
Not open for further replies.
Top