summaryrefslogtreecommitdiff
path: root/4-uncron.sh
diff options
context:
space:
mode:
authordd <dd@wx.tnyzeq.icu>2024-06-30 17:02:13 +0200
committerdd <dd@wx.tnyzeq.icu>2024-06-30 17:02:13 +0200
commit62765d042fe1b4a0131b67a6529401e01d0db0e0 (patch)
tree18331d03e88e75371d5f9bb507fd2a40caf95f39 /4-uncron.sh
parent0cd2d6f160faf45d872aa169ae7a1d93adffc114 (diff)
downloadvyos-jenkins-62765d042fe1b4a0131b67a6529401e01d0db0e0.tar.gz
vyos-jenkins-62765d042fe1b4a0131b67a6529401e01d0db0e0.zip
moved automated scripts files into auto directory
Diffstat (limited to '4-uncron.sh')
-rwxr-xr-x4-uncron.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/4-uncron.sh b/4-uncron.sh
index fb3ce00..f5076bf 100755
--- a/4-uncron.sh
+++ b/4-uncron.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-source ./helper-logic
+source ./auto/helper-logic
# Clear the screen and print the header
PrintHeader
@@ -12,7 +12,7 @@ EnsureRoot
EnsureStageIsComplete 3
#region Run Uncron script
-cp install-files/uncron-script.sh /var/lib/jenkins
+cp ./auto/uncron-script.sh /var/lib/jenkins
chown jenkins:jenkins /var/lib/jenkins/uncron-script.sh
# This script builds the uncron package.
@@ -43,7 +43,7 @@ if [ -f /etc/systemd/system/uncron.service ]; then
PrintOkIndicator "SystemD service file has already been copied."
else
function CopySystemDServiceFile {
- cp ./install-files/uncron.service /etc/systemd/system
+ cp ./auto/uncron.service /etc/systemd/system
}
Run "CopySystemDServiceFile" \
@@ -58,7 +58,7 @@ if [ -f /usr/local/bin/uncron-add ]; then
PrintOkIndicator "Uncron Add has already been installed."
else
function InstallUncronAdd {
- cp ./install-files/uncron-add /usr/local/bin
+ cp ./auto/uncron-add /usr/local/bin
chmod +x /usr/local/bin/uncron-add
chmod +x /var/lib/jenkins/uncron/src/uncron-add
}