YAMJ on PopCorn Hour

I have 2 NAS drives that need to be mounted at boot time.

Ember settings need to be thus :

  • NFO: movie.nfo, <movie>.nfo
  • Poster: movie.tbn, <movie>.tbn
  • Fanart: fanart.jpg, <movie>-fanart.jpg

Install Telnetd 1.14.1 on the NMT using the CSI (in case one needs to test things we can access the linux shell on the NMT using telnet)

Create a folder in your PCH hdd for each share you would like to mount at startup

Open start_app.sh
Below #M_A_R_K_E_R… line insert the mounting commands see below
/bin/mount -t cifs //NAS_IP_ADDRESS/video “/opt/sybhttpd/localhost.drives/HARD_DISK/FOLDER1” -o username=username,password=password
/bin/mount -t cifs //NAS2_IP_ADDRESS/video “/opt/sybhttpd/localhost.drives/HARD_DISK/FOLDER2” -o username=username,password=password

Useful post : Multiple Networked Folders with UMC

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: