2022-04-08 22:49:35 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Example of how to activate a development plugin
|
|
|
|
|
|
|
|
# echo -e "installing custom plugin"
|
|
|
|
# source /opt/netbox/venv/bin/activate
|
|
|
|
# cd /opt/plugin_source
|
|
|
|
# python3 setup.py develop
|
|
|
|
# echo -e "finished installing custom plugin"
|
|
|
|
|
|
|
|
|
|
|
|
# follow on scripts expect this to be the current dir.
|
|
|
|
# uncomment if you have changed directory
|
|
|
|
# cd /opt/netbox/netbox
|
2022-04-08 23:02:02 +02:00
|
|
|
exec "$@"
|