bash || sh
export SENTRY_URL=https://raw.githubusercontent.com/msimerson/sentry/master/sentry.pl
curl -O $SENTRY_URL || wget $SENTRY_URL || fetch --no-verify-peer $SENTRY_URL
perl sentry.pl --update
Running sentry.pl --update
will:
- create the sentry database (if needed)
- install the perl script (if needed)
- prompt you to edit /etc/hosts.allow (if needed)
That's all.
perl /var/db/sentry/sentry.pl --update
download as above
diff sentry.pl /var/db/sentry/sentry.pl
resolve any configuration differences
cp sentry.pl /var/db/sentry/sentry.pl
chmod 755 /var/db/sentry/sentry.pl