-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrulesgen.sh
312 lines (264 loc) · 14.8 KB
/
rulesgen.sh
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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
#!/bin/bash
function GENERAL
{
cat << EOF > site.rules
GENERAL :
01.0 Site does *NOT* exist! Talk about this site/channel..........................................................[DELUSER]
01.1 All Releases Max 2 hours from PRE ...........................................................................[NUKE 5X]
01.2 All uploads to be completed within 12 Hours .................................................................[NUKE 5X]
01.3 Siteops have the power, don't be a fool .....................................................................[INFO]
01.4 Affil PRE'S are exempt from ALL rules .......................................................................[INFO]
01.5 Accounts inactive for longer than 3 months are deleted ......................................................[INFO]
01.6 Accounts inactive for longer than 6 months are purged........................................................[INFO]
EOF
sed -i 's/sections="/sections="\nGENERAL:^01./' packages/scripts/tur-rules/tur-rules.sh
}
function 0DAY
{
cat << EOF >> site.rules
0DAY :
02.1 Main language: English/Nordic................................................................................[NUKE 5X]
02.2 NO Trial, Freeware, Alpha, Beta, or Demo Software............................................................[NUKE 5X]
02.3 NO MULTi/iNTERNALs...........................................................................................[NUKE 5X]
02.4 Windows/Linux/Android Platform only!.........................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\n0DAY:^02./' packages/scripts/tur-rules/tur-rules.sh
}
function FLAC
{
cat << EOF >> site.rules
FLAC :
03.1 All Genres and ALL Years.....................................................................................[INFO]
03.2 All Sources..................................................................................................[ALLOWED]
03.3 No HOMEMADE Stuff............................................................................................[NUKE 5X]
03.4 No limitation................................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nFLAC:^03./' packages/scripts/tur-rules/tur-rules.sh
}
function APPS
{
cat << EOF >> site.rules
APPS :
04.1 Main language: English/Nordic................................................................................[NUKE 5X]
04.2 NO Trial, Freeware, Alpha, Beta, or Demo Software............................................................[NUKE 5X]
04.3 NO MULTi/iNTERNALs...........................................................................................[NUKE 5X]
04.4 Windows Platform only!.......................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nAPPS:^04./' packages/scripts/tur-rules/tur-rules.sh
}
function DVDR
{
cat << EOF >> site.rules
DVDR :
05.1 Spoken language: English/Nordic..............................................................................[NUKE 5X]
05.2 NO DVD9|DUBBED|SUBBED|TC|TS..................................................................................[NUKE 5X]
05.3 Releases in: NTSC Only!......................................................................................[NUKE 5X]
05.4 NO iNTERNALs.................................................................................................[NUKE 5X]
05.5 iMDB no limitation...........................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nDVDR:^05./' packages/scripts/tur-rules/tur-rules.sh
}
function PS4
{
cat << EOF >> site.rules
PS4 :
06.1 Main language: English/Nordic................................................................................[NUKE 5X]
06.2 NO Trial, Freeware, Alpha, Beta, or Demo Software............................................................[NUKE 5X]
06.3 NO MULTi/iNTERNALs...........................................................................................[NUKE 5X]
06.4 EU/USA Releases Only!........................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nPS4:^06./' packages/scripts/tur-rules/tur-rules.sh
}
function ANIME
{
cat << EOF >> site.rules
ANIME :
07.1 Spoken language: English and Japanese with eng subs..........................................................[NUKE 5X]
07.2 Encoded in: 720p & 1080p only!...............................................................................[NUKE 5X]
07.3 DUBBED not allowed...........................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nANIME:^07./' packages/scripts/tur-rules/tur-rules.sh
}
function MBLURAY
{
cat << EOF >> site.rules
MBLURAY :
08.1 Spoken language: English/Nordic..............................................................................[NUKE 5X]
08.2 Encoded in: 720p, 1080p and 2160p only!......................................................................[NUKE 5X]
08.3 Releases tagged in: MULTi/DUAL not allowed...................................................................[NUKE 5X]
08.4 iNTERNALs....................................................................................................[ALLOWED]
08.5 All sources..................................................................................................[ALLOWED]
EOF
sed -i 's/sections="/sections="\nMBLURAY:^08./' packages/scripts/tur-rules/tur-rules.sh
}
function GAMES
{
cat << EOF >> site.rules
GAMES :
09.1 Main language: English/Nordic................................................................................[NUKE 5X]
09.2 NO Trial, Freeware, Alpha, Beta, or Demo Software............................................................[NUKE 5X]
09.3 NO MULTi/iNTERNALs...........................................................................................[NUKE 5X]
09.4 Windows Platform only!.......................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nGAMES:^09./' packages/scripts/tur-rules/tur-rules.sh
}
function MP3
{
cat << EOF >> site.rules
MP3 :
10.1 All Genres and ALL Years.....................................................................................[INFO]
10.2 All Sources..................................................................................................[ALLOWED]
10.3 No HOMEMADE Stuff............................................................................................[NUKE 5X]
10.4 No limitation................................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nMP3:^10./' packages/scripts/tur-rules/tur-rules.sh
}
function MVDVDR
{
cat << EOF >> site.rules
MVDVDR :
11.1 Spoken language: English/Nordic..............................................................................[NUKE 5X]
11.2 NO DVD9|DUBBED|SUBBED|TC|TS..................................................................................[NUKE 5X]
11.3 NO iNTERNALs.................................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nMVDVDR:^11./' packages/scripts/tur-rules/tur-rules.sh
}
function TV-SD
{
cat << EOF >> site.rules
TV-SD :
12.1 Must include sample..........................................................................................[NUKE 5X]
12.2 Only ENGLISH tvrips allowed..................................................................................[NUKE 5X]
12.3 Maximum release size 2CDS....................................................................................[NUKE 5X]
12.4 Only current seasons and latest episodes, no reruns!.........................................................[NUKE 5X]
12.5 Only HDTV x264 are allowed...................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nTV-SD:^12./' packages/scripts/tur-rules/tur-rules.sh
}
function NSW
{
cat << EOF >> site.rules
NSW :
13.1 Main language: English.......................................................................................[NUKE 5X]
13.2 NO Trial, Freeware, Alpha, Beta, or Demo Software............................................................[NUKE 5X]
13.3 MULTi allowed: Only if English is Present!...................................................................[NUKE 5X]
13.4 Only cracked releases........................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nNSW:^13./' packages/scripts/tur-rules/tur-rules.sh
}
function XXX
{
cat << EOF >> site.rules
XXX :
14.1 Spoken language: English/Nordic..............................................................................[NUKE 5X]
14.2 NO Animal/Gay/Trans/Child Porn (male w/ male)! Lesbian is fine...............................................[DELUSER]
14.3 NO iNTERNALs.................................................................................................[NUKE 5X]
14.4 All sources in SD............................................................................................[ALLOWED]
14.5 Porn ratio no limitation.....................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nXXX:^14./' packages/scripts/tur-rules/tur-rules.sh
}
function TV-HD
{
cat << EOF >> site.rules
TV-HD :
15.1 Spoken language: English.....................................................................................[NUKE 5X]
15.2 Encoded in: 720p,1080p only!.................................................................................[NUKE 5X]
15.3 All sources..................................................................................................[ALLOWED]
15.4 iMDB/TVmaze no limitation....................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nTV-HD:^15./' packages/scripts/tur-rules/tur-rules.sh
}
function X264
{
cat << EOF >> site.rules
X264 :
16.1 Spoken language: English.....................................................................................[NUKE 5X]
16.2 Releases tagged in: MULTi/DUAL/HDTV not allowed..............................................................[NUKE 5X]
16.3 Encoded in: 720p,1080p only!.................................................................................[NUKE 5X]
16.4 Foreign allowed if english subs are present..................................................................[NUKE 5X]
16.5 iMDB no limitation...........................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nX264:^16./' packages/scripts/tur-rules/tur-rules.sh
}
function TV-NL
{
cat << EOF >> site.rules
TV-NL :
17.1 Spoken language: Dutch ......................................................................................[NUKE 5X]
17.2 Encoded in: 720p, 1080p only!................................................................................[NUKE 5X]
17.3 All sources..................................................................................................[ALLOWED]
17.4 NO iNTERNALs.................................................................................................[NUKE 5X]
17.5 iMDB/TVmaze no limitation....................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nTV-NL:^17./' packages/scripts/tur-rules/tur-rules.sh
}
function XXX-PAYSITE
{
cat << EOF >> site.rules
XXX-PAYSITE :
18.1 Spoken language: English/Nordic..............................................................................[NUKE 5X]
18.2 NO Animal/Gay/Trans/Child Porn (male w/ male)! Lesbian is fine...............................................[DELUSER]
18.3 Releases tagged in: MULTi/DUAL not allowed...................................................................[NUKE 5X]
18.4 Encoded in: 2160p only!......................................................................................[NUKE 5X]
18.5 NO iNTERNALs.................................................................................................[NUKE 5X]
18.6 Porn ratio no limitation.....................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nXXX-PAYSITE:^18./' packages/scripts/tur-rules/tur-rules.sh
}
function PDA
{
cat << EOF >> site.rules
PDA :
19.1 Apps and Programs for Windows Mobile, Apple and Android only.................................................[NUKE 5X]
19.2 Only software allowed, no movies or ringtones or etc!........................................................[NUKE 5X]
19.3 English releases only, no freeware, expiring, uncracked......................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nPDA:^19./' packages/scripts/tur-rules/tur-rules.sh
}
function XVID
{
cat << EOF >> site.rules
XVID :
20.1 Spoken language: English.....................................................................................[NUKE 5X]
20.2 Foreign allowed if english subs are present..................................................................[NUKE 5X]
20.3 NO iNTERNALs.................................................................................................[NUKE 5X]
20.4 All sources..................................................................................................[ALLOWED]
20.5 iMDB no limitation...........................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nXVID:^20./' packages/scripts/tur-rules/tur-rules.sh
}
function X265-2160
{
cat << EOF >> site.rules
X265-2160 :
21.1 Spoken language: English.....................................................................................[NUKE 5X]
21.2 Releases tagged in: MULTi/DUAL/HDTV not allowed..............................................................[NUKE 5X]
21.3 Encoded in: 2160p only!......................................................................................[NUKE 5X]
21.4 iMDB no limitation...........................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nX265-2160:^21./' packages/scripts/tur-rules/tur-rules.sh
}
function EBOOKS
{
cat << EOF >> site.rules
EBOOKS :
22.1 Language: English............................................................................................[NUKE 5X]
EOF
sed -i 's/sections="/sections="\nEBOOKS:^21./' packages/scripts/tur-rules/tur-rules.sh
}
function MISC
{
cat << EOF >> site.rules
Changelog :
90.1 Rules updated 2020-09-15.....................................................................................[INFO]
EOF
sed -i 's/sections="/sections="\nChangelog:^90./' packages/scripts/tur-rules/tur-rules.sh
}
if [ "$1" = "" ]
then
echo
else
$1
fi
exit 0