Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
DAppNode
Commits
98e5576b
Unverified
Commit
98e5576b
authored
3 years ago
by
pablomendezroyo
Committed by
GitHub
3 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #349 from dappnode/pablo/fix-preinstall
Improve preinstall script
parents
7ac0b853
66007ca3
master
3alpha/add-docker-config
3alpha/add-logrotate
3alpha/adding-dappnode-to-sudoers
3alpha/move-docker-to-repo-install
alexpeterson91-fix-installer-script-wireguard
development
diego/fix-nuc-12-iso
fix-build-images
pablo/add-custom-package
pablo/fix-build-true
pablo/force-to-update-profile
pablo/installer-instructions
pablo/update-debian-iso
tropicar/change-docker-compose-installation
update-to-current-core-versions
v0.2.59
v0.2.58
v0.2.57
v0.2.56
v0.2.55
v0.2.54
v0.2.53
v0.2.52
v0.2.51
v0.2.50
v0.2.49
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/dappnode_install_pre.sh
+3
-3
scripts/dappnode_install_pre.sh
with
3 additions
and
3 deletions
+3
-3
scripts/dappnode_install_pre.sh
+
3
-
3
View file @
98e5576b
...
...
@@ -133,7 +133,7 @@ install_wireguard_dkms() {
fi
}
# LSOF INSTALLATION
# LSOF INSTALLATION
: used to scan host port 80 in use, https package installation will deppend on it
install_lsof
()
{
apt-get update
-y
apt-get
install
lsof
-y
|
tee
-a
$LOG_FILE
...
...
@@ -144,11 +144,11 @@ install_lsof() {
fi
}
# IPTABLES INSTALLATION
# IPTABLES INSTALLATION
: mandatory for docker, on bullseye is not installed by default
install_iptables
()
{
apt-get update
-y
apt-get
install
iptables
-y
|
tee
-a
$LOG_FILE
if
lsof
-v
>
/dev/null 2>&1
;
then
if
iptables
-v
>
/dev/null 2>&1
;
then
echo
-e
"
\e
[32m
\n\n
Verified iptables installation
\n\n
\e
[0m"
2>&1 |
tee
-a
$LOG_FILE
else
echo
-e
"
\e
[31m
\n\n
WARNING: iptables not installed, Docker may not work!
\n\n
\e
[0m"
2>&1 |
tee
-a
$LOG_FILE
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help