bash is needed for arrays

This commit is contained in:
Thomas Bernard 2015-09-22 16:19:24 +02:00
parent 71a7846479
commit aa1e24acf8
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
#!/bin/sh
#!/bin/bash
# $Id: $
# Array are not available with POSIX sh
# bash / ksh
RULE[1]="allow 1-20000 11.12.13.14/22 1234"
RULEA[1]="allow 1-20000 0b0c0d0e/fffffc00 1234-1234"
RULEB[1]="allow 1-20000 11.12.13.14/255.255.252.0 1234-1234"