Changeset 691
- Timestamp:
- 02/22/06 01:32:18 (7 years ago)
- File:
-
- 1 edited
-
src/do_domaines.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/do_domaines.sh
r688 r691 1 1 #!/bin/ksh 2 2 # 3 # $Id: do_domaines.sh,v 1.2 7 2005/05/24 18:48:31anarcat Exp $3 # $Id: do_domaines.sh,v 1.28 2005/05/26 20:52:30 anarcat Exp $ 4 4 # ---------------------------------------------------------------------- 5 5 # AlternC - Web Hosting System … … 192 192 SUB=$3 193 193 PAT="^$SUB[[:space:]]*IN[[:space:]]*A[[:space:]]*.*\$" 194 if [ "X" = "X$SUB" ] 195 then 196 SUB="@" 197 fi 194 198 DOMLINE="$SUB IN A $IP" 195 199 … … 348 352 MX=$2 349 353 PAT="^[[:space:]]*IN[[:space:]]*MX[[:space:]]*[[:digit:]]*[[:space:]].*\$" 350 MXLINE=" IN MX 5 $MX"354 MXLINE="@ IN MX 5 $MX" 351 355 # aller chercher le numéro de la ligne MX 352 356 # XXX: comportement inconnu si plusieurs matchs ou MX commenté
Note: See TracChangeset
for help on using the changeset viewer.
