public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* IPTraffic porting
@ 2020-12-06 13:57 Frank Mainz
  2020-12-11  9:14 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Mainz @ 2020-12-06 13:57 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Hi folks,

as already written in the forum, I have ported my IPTraffic addon for
IPFire.

A few questions are still open. I hope you will help me.

The cronjob is okay. 
Now I wonder if I should create the bash-installer as perl-script.

I can't figure out the git-links. I see the code, but don't understand
how it can help me.

How to insert the code for the menu where?
How the language file should look like is clear, but how do I get it
inserted in the system?

Thanks in advance for your help.
Frank




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: IPTraffic porting
  2020-12-06 13:57 IPTraffic porting Frank Mainz
@ 2020-12-11  9:14 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2020-12-11  9:14 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1395 bytes --]

Hello Frank,

> On 6 Dec 2020, at 14:57, Frank Mainz <frank(a)cybermainzel.de> wrote:
> 
> Hi folks,
> 
> 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. 
> 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 common 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 come 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/squid-accounting to /var/ipfire/addon-lang.

You can do the same and run /usr/local/bin/update-lang-cache in the install.sh script.

> Thanks in advance for your help.
> Frank

Let me know if this has helped.

Best,
-Michael

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-11  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 13:57 IPTraffic porting Frank Mainz
2020-12-11  9:14 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox