Browse Source

functions

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