madwulf

rancid.conf

Jan 15th, 2022
1,652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. TERM=network;export TERM
  2. LC_COLLATE="POSIX"; export LC_COLLATE
  3. umask 027
  4. PERL5LIB="/usr/local/rancid/lib/rancid"; export PERL5LIB
  5. TMPDIR=/tmp; export TMPDIR
  6. BASEDIR=/usr/local/rancid/var; export BASEDIR
  7. PATH=/usr/local/rancid/bin:/usr/bin:/usr/sbin:/usr/local/bin; export PATH
  8. uid=`perl -e 'print "$>"'`
  9. if [ -e /proc/1/cgroup ] ; then
  10. DOCKER=`cat /proc/1/cgroup | grep "cpu.*\/docker"`
  11. fi
  12. test "x$DOCKER" = "x" && test "$uid" -eq 0 && echo "Do not run $0 as root!" && exit 1
  13. SENDMAIL="/usr/sbin/sendmail"
  14. CVSROOT=$BASEDIR/CVS; export CVSROOT
  15. LOGDIR=$BASEDIR/logs; export LOGDIR
  16. RCSSYS=cvs; export RCSSYS
  17. LIST_OF_GROUPS="Firewalls Routers Switches"
Advertisement
Add Comment
Please, Sign In to add comment