aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Kosior <kwojtus@protonmail.com>2020-05-29 12:58:12 +0200
committerWojciech Kosior <kwojtus@protonmail.com>2020-05-29 12:58:12 +0200
commitc03e009d01ebe2e55a4383e934385dabd9ea0749 (patch)
tree95228b48146ae05e19005246831b450171f901ac
parent459fd487fcbdc33fcccddbf4c82eae048275ba51 (diff)
download0tdns-c03e009d01ebe2e55a4383e934385dabd9ea0749.tar.gz
0tdns-c03e009d01ebe2e55a4383e934385dabd9ea0749.zip
move sources to src/
-rwxr-xr-xinstall.sh10
-rwxr-xr-xsrc/hourly.py (renamed from hourly.py)0
-rwxr-xr-x[-rw-r--r--]src/hourly.sh (renamed from hourly.sh)0
-rwxr-xr-xsrc/netns-script (renamed from netns-script)0
-rwxr-xr-xsrc/perform_queries.py (renamed from perform_queries.py)0
-rwxr-xr-xsrc/vpn_wrapper.sh (renamed from vpn_wrapper.sh)0
6 files changed, 5 insertions, 5 deletions
diff --git a/install.sh b/install.sh
index 3c45c0b..821803a 100755
--- a/install.sh
+++ b/install.sh
@@ -14,15 +14,15 @@ fi
# systems don't use libexec;
# The reason they won't go to /usr/sbin or the like is because
# they're not to be executed directly by the user
-install -D -m744 vpn_wrapper.sh "$INSTALL_ROOT"/var/lib/0tdns/vpn_wrapper.sh
-install -D -m744 netns-script "$INSTALL_ROOT"/var/lib/0tdns/netns-script
-install -D -m755 perform_queries.py "$INSTALL_ROOT"/var/lib/0tdns/perform_queries.py
+install -D -m744 src/vpn_wrapper.sh "$INSTALL_ROOT"/var/lib/0tdns/vpn_wrapper.sh
+install -D -m744 src/netns-script "$INSTALL_ROOT"/var/lib/0tdns/netns-script
+install -D -m755 src/perform_queries.py "$INSTALL_ROOT"/var/lib/0tdns/perform_queries.py
install -D -m644 db_connection_config.yml "$INSTALL_ROOT"/etc/0tdns/db_connection_config.yml
# This one would make sense to be executed directly, so it'll go to sbin
-install -D -m744 hourly.py "$INSTALL_ROOT"/usr/sbin/hourly.py
+install -D -m744 src/hourly.py "$INSTALL_ROOT"/usr/sbin/hourly.py
# This is the script, that will get called by cron
-install -D -m744 hourly.sh "$INSTALL_ROOT"/usr/sbin/hourly.sh
+install -D -m744 src/hourly.sh "$INSTALL_ROOT"/usr/sbin/hourly.sh
# simillar approach will be used to install other files
diff --git a/hourly.py b/src/hourly.py
index 543ed20..543ed20 100755
--- a/hourly.py
+++ b/src/hourly.py
diff --git a/hourly.sh b/src/hourly.sh
index be1c52a..be1c52a 100644..100755
--- a/hourly.sh
+++ b/src/hourly.sh
diff --git a/netns-script b/src/netns-script
index ba2d226..ba2d226 100755
--- a/netns-script
+++ b/src/netns-script
diff --git a/perform_queries.py b/src/perform_queries.py
index 4762e14..4762e14 100755
--- a/perform_queries.py
+++ b/src/perform_queries.py
diff --git a/vpn_wrapper.sh b/src/vpn_wrapper.sh
index b4b9350..b4b9350 100755
--- a/vpn_wrapper.sh
+++ b/src/vpn_wrapper.sh