functions

This commit is contained in:
Bob Mottram 2015-11-22 11:05:24 +00:00
parent 3421108c6c
commit b83fe5aa24
1 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ deb-src $NEW_MIRROR $SUITE $COMPONENTS
EOF
}
configure_networking {
function 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
}
configure_ssh {
function configure_ssh {
sed -i "s/Port .*/Port 2222/g" $rootdir/etc/ssh/sshd_config
if [[ "$SSH_PUBKEY" != "no" ]]; then
@ -168,7 +168,7 @@ configure_ssh {
fi
}
continue_installation {
function 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