Annotated edit history of
ifconfigd version 5, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
2 |
AristotlePagaltzis |
1 |
!! Project Plan |
1 |
DrewBroadley |
2 |
|
2 |
AristotlePagaltzis |
3 |
With my laptop, I was constantly going from work in PalmerstonNorth to home to work in [Wellington] as well as friends places and then I had two interfaces (Wireless and LAN) that would be connected. I was getting sick of problems with [DNS] hosts not working when I was local and the servers were now only accessible from internal [IP] with the [DMZ] setup. So I have set up this simple hack system (I will develop it further if there is interest). |
1 |
DrewBroadley |
4 |
|
2 |
AristotlePagaltzis |
5 |
!! Backend |
1 |
DrewBroadley |
6 |
|
2 |
AristotlePagaltzis |
7 |
Gets network interfaces, checks active, sets __/etc/resolve.conf__ and __/etc/hosts(5)__ according to network. Written in [Perl]. |
1 |
DrewBroadley |
8 |
|
2 |
AristotlePagaltzis |
9 |
!! Author |
|
|
10 |
|
|
|
11 |
DrewBroadley |
|
|
12 |
|
3 |
AristotlePagaltzis |
13 |
!! [CVS] |
2 |
AristotlePagaltzis |
14 |
|
4 |
DrewBroadley |
15 |
http://cvs.corrupt.co.nz/cgi-bin/cvsweb.cgi/ifconfigd/ |
2 |
AristotlePagaltzis |
16 |
|
|
|
17 |
---- |
|
|
18 |
|
|
|
19 |
''That is rather ugly Perl.. particularly your abuse of backticks makes me twitch. :-/ Also, why have a daemon sit there and wait for a file to change if you're going to use helper processes to update the file? Just have the helpers invoke (or indeed, ''be'') the main update script.'' --AristotlePagaltzis |
5 |
DrewBroadley |
20 |
|
|
|
21 |
''Well this was written in a night with the most lazy perl style I have ever used :P I have slowly been re-writing it to make it much MUCH pretty and much more functional, apologies about the ugliness.'' --DrewBroadley |