functions
This commit is contained in:
parent
3421108c6c
commit
b83fe5aa24
|
@ -93,7 +93,7 @@ deb-src $NEW_MIRROR $SUITE $COMPONENTS
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_networking {
|
function configure_networking {
|
||||||
echo "# This file describes the network interfaces available on your system
|
echo "# This file describes the network interfaces available on your system
|
||||||
# and how to activate them. For more information, see interfaces(5).
|
# and how to activate them. For more information, see interfaces(5).
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ To complete the installation run the following:
|
||||||
' > $rootdir/etc/init.d/motd
|
' > $rootdir/etc/init.d/motd
|
||||||
}
|
}
|
||||||
|
|
||||||
configure_ssh {
|
function configure_ssh {
|
||||||
sed -i "s/Port .*/Port 2222/g" $rootdir/etc/ssh/sshd_config
|
sed -i "s/Port .*/Port 2222/g" $rootdir/etc/ssh/sshd_config
|
||||||
|
|
||||||
if [[ "$SSH_PUBKEY" != "no" ]]; then
|
if [[ "$SSH_PUBKEY" != "no" ]]; then
|
||||||
|
@ -168,7 +168,7 @@ configure_ssh {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
continue_installation {
|
function continue_installation {
|
||||||
# If a configuration file exists then run with it
|
# If a configuration file exists then run with it
|
||||||
# otherwise the interactive installer can be used
|
# otherwise the interactive installer can be used
|
||||||
# This is equivalent to installing freedombox-setup on freedombox
|
# This is equivalent to installing freedombox-setup on freedombox
|
||||||
|
|
Loading…
Reference in New Issue