Remove variants (may overlap consecutive scenaries). Bad approach.
[anna.git] / example / diameter / launcher / resources / scripts / clone.sh
index 9fd487c..f24f785 100755 (executable)
@@ -46,11 +46,11 @@ usage() {
   echo "                                  * __IPV4HEX__  : hexadecimal IPv4 address, for example: 00000001"
   echo "                                  * __IPV4__     : IPv4 address, for example: 0.0.0.1"
   echo
-  echo "                                  One variant (former ones plus 1):"
-  echo "                                  * __SEQ8P1__   : 8-digit number corresponding to the sequence number (00000002 for 1, and so on)"
-  echo "                                  * __IPV4HEXP1__: hexadecimal IPv4 address, for example: 00000002"
-  echo "                                  * __IPV4P1__   : IPv4 address, for example: 0.0.0.2"
-  echo
+  #echo "                                  One variant (former ones plus 1):"
+  #echo "                                   __SEQ8P1__   : 8-digit number corresponding to the sequence number (00000002 for 1, and so on)"
+  #echo "                                   __IPV4HEXP1__: hexadecimal IPv4 address, for example: 00000002"
+  #echo "                                   __IPV4P1__   : IPv4 address, for example: 0.0.0.2"
+  #echo
   echo "                                  Edit the variables section to add more special values if you need them."
   echo
   echo "          initial sequence:       initial sequence number to parse over variables."
@@ -113,10 +113,10 @@ clone() {
   echo "__SEQ8__=$seq8" >> $target
   echo "__IPV4HEX__=$ipv4hex" >> $target
   echo "__IPV4__=$ipv4" >> $target
-  # First variant:
-  echo "__SEQ8P1__=$seq8_p1" >> $target
-  echo "__IPV4HEXP1__=$ipv4hex_p1" >> $target
-  echo "__IPV4P1__=$ipv4_p1" >> $target
+  ## First variant:
+  #echo "__SEQ8P1__=$seq8_p1" >> $target
+  #echo "__IPV4HEXP1__=$ipv4hex_p1" >> $target
+  #echo "__IPV4P1__=$ipv4_p1" >> $target
   source $target
   #rm $target
   ######################################### END SPECIAL VARIABLES SECTION #########################################