Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 824 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 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