Bob Mottram 9 yıl önce
ebeveyn
işleme
d5fb8076ba
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3
    3
      src/freedombone-image-customise

+ 3
- 3
src/freedombone-image-customise Dosyayı Görüntüle

@@ -93,7 +93,7 @@ deb-src $NEW_MIRROR $SUITE $COMPONENTS
93 93
 EOF
94 94
 }
95 95
 
96
-function configure_networking {
96
+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
-function configure_ssh {
155
+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 @@ function configure_ssh {
168 168
     fi
169 169
 }
170 170
 
171
-function continue_installation {
171
+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