Commit 2240b75f authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

Rename bind10.in to run_bind10.sh.in -- this is the script that

can be ran from source tree.

Rename bind10.py to bind10.py.in -- this is the bind10 tool. It
has the python and python module path added to it.

The python script will actually startup from installed directory.

TODO: bind10 will run daemons from @libexecdir@ (I will commit those
daemon install changes shortly).
TODO: don't need special python handling.
TODO: split out all functionality to a bind10 specific module


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/parkinglot@613 e5f2f494-b856-4b98-b285-d166d9295462
parent eb0da692
......@@ -169,8 +169,9 @@ AC_CONFIG_FILES([Makefile
])
AC_OUTPUT([src/bin/cfgmgr/b10-cfgmgr
src/bin/cmdctl/b10-cmdctl
src/bin/bind10/bind10
src/bin/bind10/bind10.py
src/bin/bind10/bind10_test
src/bin/bind10/run_bind10.sh
src/bin/bindctl/bindctl
src/bin/bindctl/unittest/bindctl_test
src/bin/msgq/msgq
......
#!@PYTHON@
import sys; sys.path.append ('@@PYTHONPATH@@')
"""\
This file implements the Boss of Bind (BoB, or bob) program.
......@@ -24,7 +28,6 @@ __main__.
import subprocess
import signal
import os
import sys
import re
import errno
import time
......
......@@ -12,5 +12,5 @@ PYTHONPATH=@abs_top_srcdir@/src/lib/cc/python:@abs_top_srcdir@/src/lib/config/py
export PYTHONPATH
cd ${BIND10_PATH}
exec ${PYTHON_EXEC} -O bind10.py $*
exec ${PYTHON_EXEC} -O bind10 $*
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment