DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-04-07 01:23:11

tinybilbo
Member
Registered: 2011-04-02
Posts: 36

How to start debian sqeeze chroot from boot? (then some other apps)

Hi,

I've been playing with my new 323 for a couple of days to get sabnzbd, couchpotato, sickbeard, and transmission working (which they now do.)

I have flashed Alt-F-0.1B7, so as to install the debian squeeze .ipkg kindly provided by Dhub (Thank you Dhub...)
This runs chrooted when I type "deb" from putty.

I then install (python, cheetah), couchpotato, sickbeard and sabnzbd.

I can then run the apps with following commands.

"python  /opt/SABnzbd/SABnzbd.py -d -f ~/.sabnzbd/sabnzbd.ini
python  /opt/CouchPotato/CouchPotato.py -d
python  /opt/SickBeard/SickBeard.py -d"

(Transmission runs as an .ipkg form Alt-f itself, so it autostarts anyway).

I have 2 problems that I can't seem to work out

1) How do I autostart the chroot installation of debian squeeze? (from boot)
    I have ticked the "boot enabled" box in the Alt-f firmware page - Services/System - but it still does'nt start from boot.
    I have to manually type "deb" from putty (All the other services autostart except debian sad ).
    I believe that this can start from a fun_plug script,
    but I know nothing about scripting... (my linux is pretty ropey as well smile ).

2) After Starting the debian chroot, how can I autostart the 3 apps (processes) that I need.

I realise that this is less of a "problem" and more of a lack of understanding as to how linux works,
but I have scoured the forum for answers and have come up short.

Hopefully someone can help me learn.... smile

Thanks

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB