Difference between revisions of "Freeside talk:1.7:Documentation:Administration"
From Freeside
C4telEltbo (talk | contribs) |
C4telEltbo (talk | contribs) |
||
| Line 1: | Line 1: | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
= Exports = | = Exports = | ||
Revision as of 01:26, 9 July 2009
Exports
Quick shell kludge to generate the list of exports per service:
for a in svc_acct svc_domain svc_forward svc_www svc_broadband svc_external; do \
echo "==$a=="
for b in `grep "'svc'" *.pm | grep $a | cut -d: -f1`; do \
echo -n "* $b: "
grep "'desc'" $b | cut -d'>' -f2 | perl -pe "s/',?//g;"
done
echo
done