diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index ab4a99ca..3ceebec6 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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