Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
92 lines (75 loc) · 2.59 KB

File metadata and controls

executable file
·
92 lines (75 loc) · 2.59 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/bin/bash
function red_msg() {
echo -e "\\033[31;1m${@}\033[0m"
}
function green_msg() {
echo -e "\\033[32;1m${@}\033[0m"
}
function yellow_msg() {
echo -e "\\033[33;1m${@}\033[0m"
}
function blue_msg() {
echo -e "\\033[34;1m${@}\033[0m"
}
version=`git tag | tail -1`
yellow_msg "Installing mediakit_RaspberryPi Version $version..."
if ! [ -e "/boot/berryboot.img" ] ; then
red_msg "ERROR! mediakit can only be installed on a berryboot system!"
yellow_msg "https://berryterminal.com/doku.php/berryboot"
exit
fi
green_msg "install and configure everything..."
######## install mediakit layout and user
yellow_msg "-install mediakit layout and mediakit user..."
scripts/layoutAndUser.sh
######## install router and miracast ability
yellow_msg "-install router and miracast ability..."
scripts/routerAndMiracast.sh
######## install update ability
yellow_msg "-install update ability..."
######## install startup and mediakit scripts
yellow_msg "-install startup and mediakit scripts..."
scripts/mediakitScripts.sh
######## install server ability
yellow_msg "-install server functions..."
scripts/server.sh
#### Workspace
yellow_msg "->install Workspace"
#### Fileupload
yellow_msg "->install Fileupload"
#### FileBrowser
yellow_msg "->install FileBrowser"
#### Guacamole clientless remote desktop
yellow_msg "->install guacamole clientless remote desktop"
#### activate ssh
#### install x11VNC Server (disable real vnc server)
#### install smb server
######## install mediakit selfhealing abitily
yellow_msg "-install mediakit selfhealing ability"
######## install some useful programs
yellow_msg "-install some useful programs"
scripts/programs.sh
#### openboard
#### python
#### geogebra
#### pinta
#### java
#### gparted
#### ballerburg
#### simplescreenrecorder
#### youtube-dl
######## copying sudoers file to give all necessary rights to user mk
yellow_msg "-copying sudoers file to give all necessary rights to user mk"
sudo cp sources/etc/sudoers /etc/
#### create a copy of /home/mk which is used by restoreMkProfile.sh
yellow_msg "-create copy of /home/mk"
sudo chown -R mk:mk /home/mk
sudo chmod -R 755 /home/mk
sudo mkdir /home/pi/backup
sudo cp -R /home/mk /home/pi/backup/
#### set Version
sudo sed -i 's/my_image = Image.Text(\"v.*$/my_image = Image\.Text(\"'$version' Copyright Olaf Koch \& Simon Zander 2018\"\, 1\, 1\, 1)\;/g' /usr/share/plymouth/themes/pix/pix.script
green_msg "Done! A restart is necessary!"
green_msg "sudo shutdown -r now"
blue_msg "(its recommended to make a copy of the current berryboot system including all data"
blue_msg "by this you can allways return to a fresh mediakit install ...)"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.