Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
1de4feca
Commit
1de4feca
authored
6 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Add debug
parent
4ebdd847
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/freedombone-upgrade
+0
-3
0 additions, 3 deletions
src/freedombone-upgrade
src/freedombone-utils-web
+9
-0
9 additions, 0 deletions
src/freedombone-utils-web
with
9 additions
and
3 deletions
src/freedombone-upgrade
+
0
−
3
View file @
1de4feca
...
...
@@ -90,15 +90,12 @@ if [ -d "$PROJECT_DIR" ]; then
chmod
-R
+r /usr/share/
${
PROJECT_NAME
}
fi
echo
"test0"
if
!
${
PROJECT_NAME
}
-c
"
$CONFIGURATION_FILE
"
;
then
exit
453536
fi
#rebuild_exim_with_socks
echo
"test1"
install_dynamicdns
echo
"test2"
torrc_migrate
nodejs_upgrade
apt-get
-yq
-t
stretch-backports
install
certbot
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-utils-web
+
9
−
0
View file @
1de4feca
...
...
@@ -475,18 +475,23 @@ function upgrade_inadyn_config {
}
function install_dynamicdns {
echo "************ 1"
if [[ $SYSTEM_TYPE == "mesh"* ]]; then
return
fi
echo "************ 2"
if [[ $ONION_ONLY != "no" ]]; then
return
fi
echo "************ 3"
CURR_INADYN_COMMIT=$(get_completion_param "inadyn commit")
if [[ "${CURR_INADYN_COMMIT}" == "${INADYN_COMMIT}" ]]; then
return
fi
echo "************ 4"
if [ -f /usr/local/sbin/inadyn ]; then
if [ -d "$INSTALL_DIR/inadyn" ]; then
rm -rf "$INSTALL_DIR/inadyn"
...
...
@@ -506,6 +511,7 @@ function install_dynamicdns {
apt-get -yq install build-essential curl libgnutls28-dev automake1.11
apt-get -yq install gnutls-dev libconfuse-dev
echo "************ 5"
if [ ! -d "$INSTALL_DIR/inadyn" ]; then
if [ -d /repos/inadyn ]; then
mkdir "$INSTALL_DIR/inadyn"
...
...
@@ -516,17 +522,20 @@ function install_dynamicdns {
git_clone "$INADYN_REPO" "$INSTALL_DIR/inadyn"
fi
fi
echo "************ 6"
if [ ! -d "$INSTALL_DIR/inadyn" ]; then
echo 'inadyn repo not cloned'
echo -n | openssl s_client -showcerts -connect github.com:443 -CApath /etc/ssl/certs
exit 6785
fi
echo "************ 7"
cd "$INSTALL_DIR/inadyn" || exit 246824684
git checkout "$INADYN_COMMIT" -b "$INADYN_COMMIT"
set_completion_param "inadyn commit" "$INADYN_COMMIT"
./autogen.sh
echo "************ 8"
if ! ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-openssl; then
exit 74890
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment