From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: IPTraffic porting Date: Fri, 11 Dec 2020 10:14:46 +0100 Message-ID: <929D0183-4594-4AEE-A5D1-BBEEA90EA22F@ipfire.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0183936533103216118==" List-Id: --===============0183936533103216118== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Frank, > On 6 Dec 2020, at 14:57, Frank Mainz wrote: >=20 > Hi folks, >=20 > as already written in the forum, I have ported my IPTraffic addon for > IPFire. You have come to the right place here. The forum is mainly a support forum. > A few questions are still open. I hope you will help me. Yes, absolutely. But first from me: What is the IPTraffic add-on? > The cronjob is okay.=20 > Now I wonder if I should create the bash-installer as perl-script. Why? I would prefer shell because we have a small library that we load for co= mmon functionality like starting a service, etc. > I can't figure out the git-links. I see the code, but don't understand > how it can help me. Please explain the problem you are trying to solve and I hope I can help to c= ome up with a solution. > How to insert the code for the menu where? There are files in config/menu. Have a look at the files beginning with EX-. = Those are add-ons. > How the language file should look like is clear, but how do I get it > inserted in the system? Have a look at lfs/squid-accounting. That script installs files from src/squi= d-accounting to /var/ipfire/addon-lang. You can do the same and run /usr/local/bin/update-lang-cache in the install.s= h script. > Thanks in advance for your help. > Frank Let me know if this has helped. Best, -Michael --===============0183936533103216118==--