[gl-como] (no subject)
gl-como@lists.linux.it
gl-como@lists.linux.it
Fri, 21 Mar 2003 16:55:15 +0100 (MET)
This is a MIME encoded message.
--NextPart97e62f07cec65a8be2b70442549880cc
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Mi =E8 capitato di dover ripotare numerosi (220!) IP gi=E0 registrati nel m=
io =0Adominio in un file per il server DHCP. Per non perdere troppo tempo h=
o messo a =0Apunto uno script-ino che provvede a recuperare il MAC delle sc=
hede (degli host =0Aaccesi, ovviamente ;-) e compilare nel formato giusto i=
l file dhcpd.conf . =0ANiente di trascendentale, ma magari a qualcuno pu=F2=
fare comodo. Forse si =0Apotrebbe mettere nella sezione degli script, Dam =
? =0A =0A =0AMatteo Cavalleri =0A=0A=0A=0A_________________________________=
_______________________________________=0AIRCCS E.Medea WebMail System
--NextPart97e62f07cec65a8be2b70442549880cc
Content-Type: application/x-shellscript; name = "/root/dns2dhcpd.sh"
Content-Transfer-Encoding: base64
IyEvYmluL2Jhc2gKIwojIGRuczJkaGNwZC5zaCAtIE1hdHRlbyBDYXZhbGxlcmkgdGhlb3NAYnAu
bG5mLml0CiMgQ292ZXJlZCBieSBHUEx2MgojCiMgUXVpY2tseSBjcmVhdGlvbiBvZiBzdGF0aWMg
ZGhjcGQgY29uZmlndXJhdGlvbiBmaWxlIHNlY3Rpb24gCiMgYnkgcmVhZGluZyBQVFIgYW5kIEEg
cmVjb3JkcyBmcm9tIGRucywgYW5kIHRyeWluZyB0byBnZXQgTUFDcyBmcm9tCiMgeW91ciBuZXR3
b3JrLgppZiBbIC16ICQxIF0KCXRoZW4KCQllY2hvCgkJZWNobwoJCWVjaG8gIlVzYWdlOiAkMCBb
IHlvdXJkb21haW4uZWR1IHwgbm90X2ZvdW5kX21hY19maWxlIF0iCgkJZWNobwoJCWVjaG8gUGxl
YXNlIHNwZWNpZnkgZG9tYWluIGZvciB3aGljaCB5b3Ugd2FudCB0byBidWlsZAoJCWVjaG8gYSBk
aGNwIHN0YXRpYyB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