functions

This commit is contained in:
Bob Mottram 2015-11-22 11:12:38 +00:00
parent b83fe5aa24
commit d5fb8076ba
1 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ deb-src $NEW_MIRROR $SUITE $COMPONENTS
EOF
}
function configure_networking {
configure_networking() {
echo "# This file describes the network interfaces available on your system
# 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
}
function configure_ssh {
configure_ssh() {
sed -i "s/Port .*/Port 2222/g" $rootdir/etc/ssh/sshd_config
if [[ "$SSH_PUBKEY" != "no" ]]; then
@ -168,7 +168,7 @@ function configure_ssh {
fi
}
function continue_installation {
continue_installation() {
# If a configuration file exists then run with it
# otherwise the interactive installer can be used
# This is equivalent to installing freedombox-setup on freedombox