-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjohn_downloads.sh_ORIG190218
executable file
·188 lines (113 loc) · 5.4 KB
/
john_downloads.sh_ORIG190218
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
#####################Variables , Init ######################################
cd /mnt/home/stretchdog-debdive32/live/
#wget -c "http://192.168.1.52/uploads/"$PROGR
MYURL=http://192.168.1.200/uploads/
rm /tmp/john_start_kill_apps.sh
####################functions#######################################
file_fetch() {
#echo Hello $1
#PROGR="askiseis_office_htdocs_desktop_v02b_190119.squashfs"
wget -c $MYURL$1
mv -n $1 "/mnt/home/stretchdog-debdive32/live/"$1
return 5
}
file_rename_old() {
mv -n $1 $1"_OLD"
mv -b $1 $1"_OLD2"
mv -f $1 $1"_OLD3"
return 5
}
###########################################################
rm /mnt/home/stretchdog-debdive32/live/*.*_OLD2
rm /mnt/home/stretchdog-debdive32/live/*.*_OLD3
#rm /mnt/home/stretchdog-debdive32/live/*.*_OLD
# update 20190125
file_fetch "z_jon_update--from_200_v03.squashfs"
file_rename_old "z_jon_update--from_200_v02.squashfs"
file_rename_old "z_jon_update--from_200.squashfs"
# update 20190123
file_fetch "zz_desktop_hide-delete_files_wh_v01.squashfs"
file_fetch "ooo4kids_config_v02a.squashfs"
#file_fetch "ooo4kids_config_v01a.squashfs"
file_rename_old "ooo4kids_config_v01a.squashfs"
# config desktop
file_fetch "zzz_desktop_root_dim_v05a_190123.squashfs"
file_rename_old "zzz_desktop_root_dim_v04a_190123.squashfs"
file_rename_old "zzz_desktop_root_dim_v03c_190115oookids.squashfs"
file_rename_old "zzz_desktop_root_dim_v03b_190114oookids.squashfs"
file_rename_old "zzz_desktop_root_dim_v04f_190116oookids.squashfs"
file_rename_old "zzz_desktop_root_dim_v04a_190116oookids.squashfs"
file_rename_old "zzz_desktop_root_dim_v03a_181028oookids.squashfs"
#190118 new ASKISEIS askiseisdocs_desktop_v02a_181104.squashfs"
file_fetch "askiseis_office_htdocs_desktop_v02d_190131.squashfs"
file_rename_old "askiseis_office_htdocs_desktop_v02c_190119.squashfs"
file_rename_old "askiseis_office_htdocs_desktop_v02b_190119.squashfs"
file_rename_old "askiseis_office_htdocs_desktop_v02a_181104.squashfs"
#190118 new static IP script
#file_fetch "static_ip_set200_v04a_firewall_scripts.squashfs"
#file_rename_old "static_ip_set200_v04a_firewall_scripts.squashfs"
#PROGR="static_ip_set200_v04a_firewall_scripts.squashfs"
#wget -c $MYURL$PROGR
#mv -n $PROGR "/mnt/home/stretchdog-debdive32/live/"$PROGR
#PROGR="static_ip_set200_v03b_ok.squashfs"
#mv -n $PROGR $PROGR"_OLD"
#update firefox10
file_fetch "firefox-10.0.12esr_i386.tar.bz2_v01c_190110FlashStandalone.squashfs"
file_rename_old "firefox-10.0.12esr.tar.bz2_auto_v01b_181030.squashfs"
file_rename_old "firefox-10.0.12esr.tar.bz2_auto_v01_180919.squashfs"
file_fetch "eduactiv8_greek_config_v01.squashfs"
file_fetch "zz05_doublecmdZ_cfg01e_1line.squashfs"
file_fetch "z_EXIT_no_save_on_poweroff_v02b.squashfs"
file_rename_old "z_EXIT_no_save_on_poweroff.squashfs"
file_fetch "epoptes-client-autostart_v02.squashfs"
file_rename_old "zz05_doublecmdZ_cfg01d.squashfs"
file_fetch "gcompris_15.10-1+b1_i386.deb.el-v003nosound.squashfs"
file_fetch "iron32_flash_v61.deb_v02b-wflash.squashfs"
#PROGR="pysiogame_sd32_apt2sfs_v01_181112.squashfs"
#wget -c $MYURL$PROGR
#mv -n $PROGR "/mnt/home/stretchdog-debdive32/live/"$PROGR
file_fetch "eduActiv8-3.80.411-linux32.zip_v02need_python.squashfs"
file_fetch "firefox_62.0.2-i686el.tar.bz2_auto_v02_181020-no-remote.squashfs"
mv "firefox_62.0.2-i686el.tar.bz2_auto_v01b_180929.squashfs" "firefox_62.0.2-i686el.tar.bz2_auto_v01b_180929.squashfs_OLD"
#PROGR="firefox-mozilla-build_50.0-0ubuntu1_i386.deb_v01.squashfs"
#wget -c $MYURL$PROGR
#mv -n $PROGR "/mnt/home/stretchdog-debdive32/live/"$PROGR
file_fetch "ooo4kids-el_1.3-1_i386.deb_v04.squashfs"
#PROGR="pack_edu-level2_Gcompris)OK_EN_GR_asri20150403_310_!!.sfs.squashfs"
#wget -c $MYURL$PROGR
#mv -n $PROGR "/mnt/home/stretchdog-debdive32/live/"$PROGR
#PROGR="pack_games-level2_ALL_asri20140403_310_okSD32.sfs.squashfs"
#wget -c $MYURL$PROGR
#mv -n $PROGR "/mnt/home/stretchdog-debdive32/live/"$PROGR
file_fetch "fbxkb_0.6-2+b1_i386.deb_v01b.squashfs"
## MOVE rename delete files
mv "/mnt/live/memory/changes/root/.config/mimeapps.list" "/mnt/live/memory/changes/root/.config/mimeapps.list_OLD"
mv "/mnt/live/memory/changes/root/.config/mimeapps.list" "/mnt/live/memory/changes/root/.config/mimeapps.list_OLD"
#rm -y "pack_games-level2_ALL_asri20140403_310_okSD32.sfs.squashfs"
#rm "pack_games-level2_ALL_asri20140403_310_okSD32.sfs.squashfs"
#rm "pack_edu-level2_Gcompris)OK_EN_GR_asri20150403_310_!!.sfs.squashfs"
PROGR="eduActiv8-3.80.411-linux32.zip_v01need_python.squashfs"
mv -n $PROGR $PROGR"_OLD"
PROGR="zzz_desktop_root_dim_v03a_181028oookids_.squashfs"
mv -n $PROGR $PROGR"_OLD"
PROGR="pysiogame_sd32_apt2sfs_v01_181112.squashfs"
mv -n $PROGR $PROGR"_OLD"
#PROGR="epoptes-client-autostart_.squashfs"
#mv -n $PROGR $PROGR"_OLD"
#PROGR="epoptes-client-autostart.squashfs"
#mv -n $PROGR $PROGR"_OLD"
#PROGR="/opt/doublecmd/doublecmd.xml"
#mv -n $PROGR $PROGR"_OLD"
#PROGR="/mnt/live/memory/images/changes-exit/opt/doublecmd/doublecmd.xml"
#mv -n $PROGR $PROGR"_OLD2"
#PROGR="/mnt/live/memory/changes/opt/doublecmd/doublecmd.xml"
#mv -n $PROGR $PROGR"_OLD2"
############ From here setup starting apps
cd /tmp
wget http://192.168.1.200/uploads/john_start_kill_apps.sh
chmod a+x john_start_kill_apps.sh
. john_start_kill_apps.sh
#try remote (to change files stretchdog-debdive32/live/ )
wget -T 7 http://educ.swf.dimotiko.tk/4class_sfs/john_downloads_remote_15dimotiko.sh
chmod a+x john_downloads_remote_15dimotiko.sh
. john_downloads_remote_15dimotiko.sh