Browse Source

functions

Bob Mottram 9 years ago
parent
commit
b83fe5aa24
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/freedombone-image-customise

+ 3
- 3
src/freedombone-image-customise View File

@@ -93,7 +93,7 @@ deb-src $NEW_MIRROR $SUITE $COMPONENTS
93 93
 EOF
94 94
 }
95 95
 
96
-configure_networking {
96
+function configure_networking {
97 97
     echo "# This file describes the network interfaces available on your system
98 98
 # and how to activate them. For more information, see interfaces(5).
99 99
 
@@ -152,7 +152,7 @@ To complete the installation run the following:
152 152
 ' > $rootdir/etc/init.d/motd
153 153
 }
154 154
 
155
-configure_ssh {
155
+function configure_ssh {
156 156
     sed -i "s/Port .*/Port 2222/g" $rootdir/etc/ssh/sshd_config
157 157
 
158 158
     if [[ "$SSH_PUBKEY" != "no" ]]; then
@@ -168,7 +168,7 @@ configure_ssh {
168 168
     fi
169 169
 }
170 170
 
171
-continue_installation {
171
+function continue_installation {
172 172
     # If a configuration file exists then run with it
173 173
     # otherwise the interactive installer can be used
174 174
     # This is equivalent to installing freedombox-setup on freedombox