Log in
Register
Menu
Log in
Register
Home
What's new
Latest activity
Authors
Forums
New posts
Search forums
What's new
New posts
Latest activity
Members
Current visitors
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Linux Based Receivers
Dreambox Support Forum
moving var to pc
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jackfrost_" data-source="post: 100946" data-attributes="member: 189709"><p>Yep, softlink is a type of symlink (the command is 'ln -s').</p><p>I can't remember the exact sequence, unfortunately.</p><p>I do start the CAM manually blue/yellow buttons.</p><p></p><p>If you want to start your own programs before enigma starts, you can take advantage in /etc/init.d/rcS, where it runs /var/tuxbox/start_enigma if it exists.</p><p></p><p>You need to create start_enigma, and repeat the code from the bottom of rcS. You can then add any commands is that you like (I am using it to experiment with different 'enigma' programs).</p><p></p><p>Hope this helps.</p><p></p><p>Jack</p><p>[CODE]</p><p>#!/bin/sh</p><p>/bin/update_tmp.sh</p><p>touch /tmp/.enigma</p><p># Add one-off runtime parameters / programs here</p><p>#</p><p>while [ -e /tmp/.enigma ]</p><p>do</p><p># Add programs to run before enigma here</p><p>#</p><p>/bin/enigma</p><p># Uncomment Sleep when experimenting to allow telnet recovery</p><p># sleep 120</p><p>case "$?" in</p><p>0)</p><p>echo "Halt"</p><p>rm /tmp/.enigma</p><p>/bin/update_var.sh</p><p>sync;/sbin/halt</p><p>;;</p><p>2)</p><p>echo "Restart"</p><p>;;</p><p>3)</p><p>echo "Reboot Flash"</p><p>rm /tmp/.enigma</p><p>/bin/update_var.sh</p><p>umount /var</p><p>umount /hdd</p><p>/bin/flashtool</p><p>;;</p><p>*)</p><p>echo "Reboot"</p><p>rm /tmp/.enigma</p><p>/bin/update_var.sh</p><p>sync;/sbin/reboot</p><p>;;</p><p>esac</p><p>done</p><p>exit 0</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="jackfrost_, post: 100946, member: 189709"] Yep, softlink is a type of symlink (the command is 'ln -s'). I can't remember the exact sequence, unfortunately. I do start the CAM manually blue/yellow buttons. If you want to start your own programs before enigma starts, you can take advantage in /etc/init.d/rcS, where it runs /var/tuxbox/start_enigma if it exists. You need to create start_enigma, and repeat the code from the bottom of rcS. You can then add any commands is that you like (I am using it to experiment with different 'enigma' programs). Hope this helps. Jack [CODE] #!/bin/sh /bin/update_tmp.sh touch /tmp/.enigma # Add one-off runtime parameters / programs here # while [ -e /tmp/.enigma ] do # Add programs to run before enigma here # /bin/enigma # Uncomment Sleep when experimenting to allow telnet recovery # sleep 120 case "$?" in 0) echo "Halt" rm /tmp/.enigma /bin/update_var.sh sync;/sbin/halt ;; 2) echo "Restart" ;; 3) echo "Reboot Flash" rm /tmp/.enigma /bin/update_var.sh umount /var umount /hdd /bin/flashtool ;; *) echo "Reboot" rm /tmp/.enigma /bin/update_var.sh sync;/sbin/reboot ;; esac done exit 0 [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Linux Based Receivers
Dreambox Support Forum
moving var to pc
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top