blob: c62009d06b67403d59d180938c71e29e880ddf0a (
plain) (
blame)
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
|
#!/bin/sh
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
if [ ! -d /var/binaries ]; then
install -d /var/binaries
fi
if [ ! -d /var/cache/nepenthes ]; then
install -d /var/cache/nepenthes
fi
if [ ! -d /var/cache/nepenthes/pcap ]; then
install -d /var/cache/nepenthes/pcap
fi
if [ ! -d /var/cache/nepenthes/signatures ]; then
install -d /var/cache/nepenthes/signatures
fi
if [ ! -d /var/hexdumps ]; then
install -d /var/hexdumps
fi
if [ ! -d /var/log/pcap ]; then
install -d /var/log/pcap
fi
if [ ! -d /var/binaries ]; then
install -d /var/spool/nepenthes
fi
if [ ! -d /var/binaries ]; then
install -d /var/spool/nepenthes/gotek
fi
if [ ! -d /var/binaries ]; then
install -d /var/spool/nepenthes/submitpostgres
fi
if [ ! -f /var/cache/nepenthes/signatures/shellcode-signatures.sc ]; then
install -c ${PKG_PREFIX}/share/nepenthes/signatures/shellcode-signatures.sc \
/var/cache/nepenthes/signatures
fi
|