Reply To: Date of a new release

Home Page Forums Network Management ZeroShell Date of a new release Reply To: Date of a new release

#50011

atheling
Member

Most of the filesystem is actually RAM based and is created and loaded up during boot. The stuff that survives reboot is in /Database.

So what I have done is create a directory /Database/custom/ and it it I have placed the patched versions of any script files.

Then under the “Startup/cron” tab under “SYSTEM” “Setup”, I have put the following into the “pre-boot” script:


modprobe nf_nat_sip
for file in /Database/custom/*
do
cp ${file} /root/kerbynet.cgi/scripts/
done

This copies my patched files into the correct place for them to be executed.

(The modprobe nf_nat_sip seems to be needed for my VoIP stuff to work. And that is a separate issue from the net balance/QoS problems that the patches address.)