Version 0.21 is just down below.
Hello,
this is a little package giving you the possibility to insert in an easy way own modifications at the NAS. As long as there's no alternative firmware or the promised development tools from Raidsonic i suppose it's quite useful.
The script will run different scripts at every NAS-boottime, so all your modifications will last even after poweroff.
It's modular and indented to be community supported. I won't give you the scripts (oh, maybe i will) but am willing to correct errors on "userscript". So please report any failures here and i'll try to fix it.
Installation:
Place package into public/applications/new_software/ and reboot. This will create a new folder public/applications/userscript/
Content:
init - is started at NAS-Boot and does ...
init.us - ... enable starting this. It runs after all other bootstuff is done, so your mods will be the last who come and not overriden by the flashcontent
example/* - some examples (see below), more to come from community
scripts/ - here your scripts have to be placed. pure textfiles are enough (they will get execute-bit automaticaly). Two conditions: it must be bash-scripts (including "#!/bin/sh") and the name must end with ".sh" eg "proftpd.sh"
config/ - it's indented to contain your config-files, which will be writen to the NAS (look at included proftp-script)
Examples included:
linkhddapp.sh / linkroot.sh - makes symlinks of /usr/hddapp/ and / under userscript/hddapp/ and userscript/root/ - useful at development. The config-files for the NAS-services are located under hddapp/etc/, so it's good for building your own configs.
unlinkhddapp.sh / unlinkroot.sh - what to you thing? it removes the links
proftpd.sh - exchanges ftpserver-settings with userscript/config/proftpd.conf and restarts the ftpserver. Obviously needs a conf located there. Use one of these at userscript/examples/config/. CAUTION: Get the right one depending on your system - eg. if your system is located at /mnt/md1 (raid-systems), get proftpd.conf.md1.
copy your needed conf to userscript/config/ and rename it to proftpd.conf!
Download at RapidShare (deleted - please use Version 0.2)
greetz
skara
PS: Some short "thanks" shows me, there's an interessed on it at our nongerman visitors. So if you want us to write more english give any feedback (even about our lack of english knowledge)





)
Mit Zitat antworten



Lesezeichen