mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
* Version 1.9 * Version 2.0 * Version 1.6 * Updated Papers to v2.0 * Replaced readKeys.sh with cfgNginx.py * Fixed PKCS12 export bug Co-authored-by: combsn <combsn@usc.edu>
21 lines
483 B
Bash
Executable File
21 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
|
|
testZip=$(opkg list-installed | grep -w 'zip')
|
|
testUnzip=$(opkg list-installed | grep -w 'unzip')
|
|
testBase64=$(opkg list-installed | grep -w 'coreutils-base64')
|
|
testNginxssl=$(opkg list-installed | grep -w 'nginx-ssl')
|
|
|
|
if [ -z "$testBase64" ]; then
|
|
echo "Not Installed";
|
|
else
|
|
if [ -z "$testZip" -a -z "$testNginxssl" ]; then
|
|
echo "Not Installed";
|
|
else
|
|
if [ -z "$testUnzip" ]; then
|
|
echo "Not Installed";
|
|
else
|
|
echo "Installed";
|
|
fi
|
|
fi
|
|
fi
|