Update so-rule-update to source so-common

This commit is contained in:
William Wernert
2021-09-10 13:41:58 -04:00
parent 9c310de459
commit 0b42b19763

View File

@@ -1,13 +1,7 @@
#!/bin/bash
got_root() {
# Make sure you are root
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
fi
. /usr/sbin/so-common
}
got_root
docker exec so-idstools /bin/bash -c "cd /opt/so/idstools/etc && idstools-rulecat --force $1"