|
@@ -105,10 +105,6 @@ ROUTE_THROUGH_TOR="no"
|
105
|
105
|
TLS_TIME_SOURCE1="google.com"
|
106
|
106
|
TLS_TIME_SOURCE2="www.ptb.de"
|
107
|
107
|
|
108
|
|
-# kernel specifically tweaked for the Beaglebone Black
|
109
|
|
-# See http://rcn-ee.net/deb/jessie-armhf/
|
110
|
|
-KERNEL_VERSION="v3.15.10-bone8"
|
111
|
|
-
|
112
|
108
|
# The type of hardware random number generator being used
|
113
|
109
|
# This can be empty, "beaglebone" or "onerng"
|
114
|
110
|
HWRNG_TYPE=
|
|
@@ -4922,20 +4918,6 @@ function enable_backports {
|
4922
|
4918
|
echo 'enable_backports' >> $COMPLETION_FILE
|
4923
|
4919
|
}
|
4924
|
4920
|
|
4925
|
|
-function update_the_kernel {
|
4926
|
|
- if grep -Fxq "update_the_kernel" $COMPLETION_FILE; then
|
4927
|
|
- return
|
4928
|
|
- fi
|
4929
|
|
- # if this is not a beaglebone or is a docker container
|
4930
|
|
- # then just use the standard kernel
|
4931
|
|
- if [[ $INSTALLED_WITHIN_DOCKER == "yes" || $INSTALLING_ON_BBB != "yes" ]]; then
|
4932
|
|
- return
|
4933
|
|
- fi
|
4934
|
|
- cd /opt/scripts/tools
|
4935
|
|
- ./update_kernel.sh --kernel $KERNEL_VERSION
|
4936
|
|
- echo 'update_the_kernel' >> $COMPLETION_FILE
|
4937
|
|
-}
|
4938
|
|
-
|
4939
|
4921
|
function enable_zram {
|
4940
|
4922
|
if grep -Fxq "enable_zram" $COMPLETION_FILE; then
|
4941
|
4923
|
return
|
|
@@ -9729,7 +9711,6 @@ initial_setup
|
9729
|
9711
|
enforce_good_passwords
|
9730
|
9712
|
install_editor
|
9731
|
9713
|
change_login_message
|
9732
|
|
-update_the_kernel
|
9733
|
9714
|
enable_zram
|
9734
|
9715
|
random_number_generator
|
9735
|
9716
|
set_your_domain_name
|