vire ipset_allow (pour conn CROUS temporaire)

This commit is contained in:
Daniel STAN 2015-03-12 21:24:06 +01:00
parent ae83dac934
commit b1ea6070bc

View file

@ -1,6 +0,0 @@
#!/bin/bash
#echo "$1" | grep -q "^\([0-9]\)*\.\([0-9]\)*\.\([0-9]\)*\.\([0-9]\)*$" || exit 42
echo "$1" | grep -q "^10\.231\.137\.\([0-9]\)*$" || exit 42
/usr/sbin/ipset add allowed_guests $1