Post by omega on Jan 8, 2007 18:19:32 GMT 7
Hi,
you can find all of my modules for the N5200 at the Thecus Wiki here: onbeat.dk/thecus/index.php/N5200_Module_List
This site will contain always the actual version and the up-to-date description of the modules. This site contains now even more documentation about the Thecus N5200.
I've created 4 new modules and I've created a new module scheme.
All new modules are now installed in /raid/data/module and each module will create a subdirectory with its name there. This servers as an indication that a module has been installed.
The installation process for a module is always appended to the file /raid/data/module/<mod>.log, where <mod> stands for the module name.
The first two modules, AUTOSTART and IMGDUP, are basic modules and serve as a basis for other modules. I've added a quite simple but effective module dependency checking code to the installer scripts. The module description at the Thecus Wiki now contains a "Depends on module(s)" field.
From the "old" modules only the SHUTDOWN modules has been modified to comply to the new module scheme and it now is available as version 0.2. The new module scheme is backward comptible so all old modules can be used without modifications though.
The AUTOSTART module was inspired by the META module for the N2100 created by getmythe (thanks for that ) and starts/stops other scripts on bootup or shutdown.
The IMGDUP module now enables us to modify the read-only scripts below /img/www and /img/bin by copying the complete /img directory tree to /raid/data/module/imgdup/img and relinking /img to that directory. The relinking needs to be done after every bootup for which the AUTOSTART module is used.
The other two new modules (BUSYBOX and NOTIFYMAIL) fix two bugs in the actual N5200 software: the busybox bug causing chmod -R running infinite and the buggy email notification script that doesn't honour the RFC821 sender address syntax.
All of these bugs are documented in detail at the Thecus Wiki too.
Have fun
Andreas
you can find all of my modules for the N5200 at the Thecus Wiki here: onbeat.dk/thecus/index.php/N5200_Module_List
This site will contain always the actual version and the up-to-date description of the modules. This site contains now even more documentation about the Thecus N5200.
I've created 4 new modules and I've created a new module scheme.
All new modules are now installed in /raid/data/module and each module will create a subdirectory with its name there. This servers as an indication that a module has been installed.
The installation process for a module is always appended to the file /raid/data/module/<mod>.log, where <mod> stands for the module name.
The first two modules, AUTOSTART and IMGDUP, are basic modules and serve as a basis for other modules. I've added a quite simple but effective module dependency checking code to the installer scripts. The module description at the Thecus Wiki now contains a "Depends on module(s)" field.
From the "old" modules only the SHUTDOWN modules has been modified to comply to the new module scheme and it now is available as version 0.2. The new module scheme is backward comptible so all old modules can be used without modifications though.
The AUTOSTART module was inspired by the META module for the N2100 created by getmythe (thanks for that ) and starts/stops other scripts on bootup or shutdown.
The IMGDUP module now enables us to modify the read-only scripts below /img/www and /img/bin by copying the complete /img directory tree to /raid/data/module/imgdup/img and relinking /img to that directory. The relinking needs to be done after every bootup for which the AUTOSTART module is used.
The other two new modules (BUSYBOX and NOTIFYMAIL) fix two bugs in the actual N5200 software: the busybox bug causing chmod -R running infinite and the buggy email notification script that doesn't honour the RFC821 sender address syntax.
All of these bugs are documented in detail at the Thecus Wiki too.
Have fun
Andreas