Changes between Version 8 and Version 9 of en/Remote-Device-Control


Ignore:
Timestamp:
Mar 14, 2014, 7:23:48 AM (12 years ago)
Author:
jonathan brophy
Comment:

add information

Legend:

Unmodified
Added
Removed
Modified
  • en/Remote-Device-Control

    v8 v9  
    2121 * [wiki:Remote-Device-Control#point4.7 4.7 TitanNit WebIF]
    2222 * [wiki:Remote-Device-Control#point4.8 4.8 FTP (File Transfer Protocol)]
     23 * [wiki:Remote-Device-Control#point4.9 4.9 Autostart Scripting (usercmd.sh)]
    2324
    2425
     
    672673----
    673674
    674 If you wish to run a script on startup of the Receiver you can install commands in the userc md.sh to be proformed at the startup of the reciever.
    675 
    676 
    677 If you place the following code in to the usergmd.sh it will delete every time shift file on the internal hdd on startup of the reciever:
    678 
    679 {{{
    680 #!python
    681 rm /media/hdd/movie/timeshift*.ts -f
     675If you wish to run a script on startup of the Receiver you can install commands in the usercmd.sh to be proformed at the startup of the reciever.
     676
     677a sample of the usercmd.sh is below:
     678
     679{{{
     680#!python
     681#! / bin / sh
     682 # Start the user commands here
     683echo " [ usercmd.sh ] start"
     684 # insert code here
     685 exit
     686}}}
     687
     688the {{{__"# insert code here"__}}} section must be replaced by your commands.
     689
     690If you place the following code in to the usercmd.sh it will delete every time shift file on the internal hdd on startup of the reciever:
     691
     692{{{
     693#!python
     694rm -f /media/hdd/movie/timeshift*.ts
    682695}}}
    683696
     
    690703
    691704
    692 the full path to the
    693 /mnt/config/usercmd.sh
    694 
    695 
    696 
    697 
    698 
    699 
     705the full path to the file is:
     706__"/mnt/config/usercmd.sh"__
     707
     708
     709
     710
     711
     712