diff options
| -rw-r--r-- | src/scripts/iperd.profile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/scripts/iperd.profile b/src/scripts/iperd.profile index d90bced..97f8b1f 100644 --- a/src/scripts/iperd.profile +++ b/src/scripts/iperd.profile | |||
| @@ -83,6 +83,13 @@ list_cfg_distros() | |||
| 83 | } | 83 | } |
| 84 | 84 | ||
| 85 | 85 | ||
| 86 | list_cfg_vers() | ||
| 87 | { | ||
| 88 | egrep "^#${1}-" "${CONFIG}" \ | ||
| 89 | |cut -d\# -f2 | ||
| 90 | } | ||
| 91 | |||
| 92 | |||
| 86 | list_distros() | 93 | list_distros() |
| 87 | { | 94 | { |
| 88 | egrep '^[[:space:]]{0,}[a-zA-Z0-9]{1,}[[:space:]]' ${DISTRODIR}/*/option* \ | 95 | egrep '^[[:space:]]{0,}[a-zA-Z0-9]{1,}[[:space:]]' ${DISTRODIR}/*/option* \ |
