|
@@ -149,7 +149,7 @@ To complete the installation run the following:
|
149
|
149
|
sudo su
|
150
|
150
|
freedombone menuconfig
|
151
|
151
|
|
152
|
|
-' > $rootdir/etc/init.d/motd
|
|
152
|
+' > $rootdir/etc/motd
|
153
|
153
|
}
|
154
|
154
|
|
155
|
155
|
configure_ssh() {
|
|
@@ -168,6 +168,10 @@ configure_ssh() {
|
168
|
168
|
fi
|
169
|
169
|
}
|
170
|
170
|
|
|
171
|
+admin_user_sudo() {
|
|
172
|
+ echo "$MY_USERNAME ALL=(ALL) ALL" >> $rootdir/etc/sudoers
|
|
173
|
+}
|
|
174
|
+
|
171
|
175
|
continue_installation() {
|
172
|
176
|
# If a configuration file exists then run with it
|
173
|
177
|
# otherwise the interactive installer can be used
|
|
@@ -279,6 +283,7 @@ chroot "$rootdir" apt-get update
|
279
|
283
|
|
280
|
284
|
configure_ssh
|
281
|
285
|
configure_networking
|
|
286
|
+admin_user_sudo
|
282
|
287
|
continue_installation
|
283
|
288
|
|
284
|
289
|
cd /
|