Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (21 sloc) 824 Bytes

SCRIPT

USAGE

update-mobilejp-cidr -o /etc/ip.d/plain/ -f notifier@example.com -e tommy@example.com -e matsu@example.org && generate-cidr-files -i /etc/ip.d/plain/ -o /etc/ip.d/
  • If find new CIDR info for any mobile carrier, update-mobilejp-cidr do:
    • write into files under /etc/ip.d/plain/
    • notify by email
    • exit 0
  • and generate-cidr-files do:
    • read from /etc/ip.d/plain/*
    • write into /etc/ip.d/yaml/cidr
    • write into /etc/ip.d/pair/cidr
Something went wrong with that request. Please try again.