[nas-2000] Re: restart

  • From: philipp Wehrheim <flipstar@xxxxxxx>
  • To: nas-2000@xxxxxxxxxxxxx
  • Date: Wed, 16 May 2007 18:49:09 +0200

http://raidsonic.de/de/pages/service/driver.php

Dennis Suchomsky schrieb:
>> The tinky cgi scripts are shell-script
>> but the orig. cgi files used by the firmware
>> are compiled C-progs.
> And where are the sources?
> thx&bye
> Dennis
> 
>>>
>>> Am 16.05.2007 um 10:42 schrieb flipstar@xxxxxxx:
>>>
>>>>
>>>> #
>>>> #
>>>> # tinky
>>>> #
>>>> # new tinky layout
>>>> # directory structur
>>>> #
>>>> /system/overlay/tinky
>>>>         apps
>>>>         data
>>>>         libs
>>>>         modules
>>>>         rc.d
>>>>         bin
>>>>
>>>>
>>> looks good its clear what is stored in the folders.
>>>
>>>> /system/overlay/tinky
>>>> The tinky dir is for configuration
>>>> files etc.
>>>>     - savedata.conf
>>>>     - tinky.conf (?)
>>>>
>>>>
>>>> Question:
>>>> Do we want a tinky.conf (guess yes)
>>>> we could give the user the possiblilty to
>>>> define special variables like:
>>>>
>>>> ...
>>>> USE_ENCYPTED_SWAP=yes
>>>> USE_HD_CRYPT=YES
>>>> USE_HD_CRYPT_KEY="/<usb-stick>/tinky.key"
>>>> ...
>>> Yes a tinky config would be good I think.
>>>
>>>> just to give an example
>>>>
>>>> Note:
>>>> We should really stop using seperate start and
>>>> stop scripts and do it the common way with
>>>> a start and a stop funktion in one file
>>>>
>>>>     01_example.sh
>>>>
>>>>     ...
>>>>     start() {
>>>>
>>>>     }
>>>>     stop()     {
>>>>
>>>>     }
>>>>     ...
>>>>
>>>>
>>> defenitly
>>>
>>>> /system/overlay/bin
>>>> for all the installed bins
>>>>
>>>>
>>>> Question:
>>>> does a seperate bin dir for tinky scripts make sense
>>>> to get a cleaner layout???
>>> don't think  so just name the scripts s.t with tinky that they will be
>>> easy to find
>>>>
>>> sorry this is all I got to say right now Im not too deep into your work
>>> to make more comment but Im sure I will be soon ;)
>>>
>>> To build a package I need to X-compile it right? Because i having
>>> troubles setting up the toolchain on my gentoo box perhaps you have a
>>> sample toolchain for me.
>>>
>>> Where can i find the sources for the cgi scripts the webinterface is
>>> using? I think there is some work needed too and i would like to program
>>> stuff like web interface fot ctorrent, top, netstat etc...
>>> hmm ok thats it right now
>>> bye
>>> Dennis
>>>
>>>
>>
> 
> 

Other related posts: