|
@@ -30,6 +30,22 @@ function argument_checks {
|
30
|
30
|
fi
|
31
|
31
|
}
|
32
|
32
|
|
|
33
|
+function change_login_message {
|
|
34
|
+ if grep -Fxq "change_login_message" $COMPLETION_FILE; then
|
|
35
|
+ return
|
|
36
|
+ fi
|
|
37
|
+ echo '' > /etc/motd
|
|
38
|
+ echo ".---. . . " >> /etc/motd
|
|
39
|
+ echo "| | | " >> /etc/motd
|
|
40
|
+ echo "|--- .--. .-. .-. .-.| .-. .--.--. |.-. .-. .--. .-. " >> /etc/motd
|
|
41
|
+ echo "| | (.-' (.-' ( | ( )| | | | )( )| | (.-' " >> /etc/motd
|
|
42
|
+ echo "' ' `--' `--' `-'`- `-' ' ' `-'`-' `-' ' `- `--'" >> /etc/motd
|
|
43
|
+ echo "" >> /etc/motd
|
|
44
|
+ echo " Freedom in the Cloud" >> /etc/motd
|
|
45
|
+ echo "" >> /etc/motd
|
|
46
|
+ echo 'change_login_message' >> $COMPLETION_FILE
|
|
47
|
+}
|
|
48
|
+
|
33
|
49
|
function remove_proprietary_repos {
|
34
|
50
|
if grep -Fxq "remove_proprietary_repos" $COMPLETION_FILE; then
|
35
|
51
|
return
|
|
@@ -831,6 +847,7 @@ argument_checks
|
831
|
847
|
remove_proprietary_repos
|
832
|
848
|
initial_setup
|
833
|
849
|
install_editor
|
|
850
|
+change_login_message
|
834
|
851
|
enable_backports
|
835
|
852
|
update_the_kernel
|
836
|
853
|
enable_zram
|