Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85158 - Enhancement for net-dns/ez-ipupdate (better init-script)
Summary: Enhancement for net-dns/ez-ipupdate (better init-script)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-13 17:32 UTC by Stefan Briesenick (RETIRED)
Modified: 2005-10-09 15:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ez-ipupdate (init-script) (ez-ipupdate,1.83 KB, text/plain)
2005-03-13 17:34 UTC, Stefan Briesenick (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Briesenick (RETIRED) gentoo-dev 2005-03-13 17:32:46 UTC
since I have more than one config for ez-ipupdate (dyndns and nerdcamp) I made a better init-script.

if you use it as /etc/init.d/ez-ipupdate nothing changes. So it's compatible.

but if you symlink it to /etc/init.d/ez-ipupdate.<config> then you can have multiple configs in /etc/ez-ipupdate/ as <config>.conf.

furthermore, I setup always a cache-file and run-as-euser=nobody.

and last: I added an 'offline' command.

all in all, it works great for me. I hope you will put it into portage. thanks!


Reproducible: Always
Steps to Reproduce:
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2005-03-13 17:34:12 UTC
Created attachment 53379 [details]
ez-ipupdate (init-script)

just replace the ez-ipupdate.rc6 in $FILESDIR.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-07-05 04:22:07 UTC
Init scripts are not allowed to call exit. They should be replaced with return 1.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-08-23 11:02:28 UTC
Re-assign, this package needs a maintainer.
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2005-10-09 10:45:46 UTC
I take it. Ebuild needs complete rework. Takes some time, but nonetheless, I 
take this beast. ;-) 
 
Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2005-10-09 15:50:07 UTC
ok. hard work. ;-)  
but new ebuild is in portage. Bug can be closed.