You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.
While it might be better to just check the location of the binaries:
if [ -f "/usr/bin/dnf" ]; then
...
fi
Examples: if [ -f "/usr/bin/yum" ]; then if [ -f "/usr/bin/dnf" ]; then if [ -f "/usr/bin/apt-get" ]; then if [ -f "/usr/bin/apk" ]; then if [ -f "/usr/bin/pacman" ]; then if [ -f "/etc/init.d/sshd" ]; then if [ -f "/etc/init.d/ssh" ]; then if [ -f "/etc/rc.d/sshd" ]; then
The text was updated successfully, but these errors were encountered:
Serverbot now uses something like:
While it might be better to just check the location of the binaries:
Examples:
if [ -f "/usr/bin/yum" ]; then
if [ -f "/usr/bin/dnf" ]; then
if [ -f "/usr/bin/apt-get" ]; then
if [ -f "/usr/bin/apk" ]; then
if [ -f "/usr/bin/pacman" ]; then
if [ -f "/etc/init.d/sshd" ]; then
if [ -f "/etc/init.d/ssh" ]; then
if [ -f "/etc/rc.d/sshd" ]; then
The text was updated successfully, but these errors were encountered: