The Ultimate Unified Hosts file for protecting your network, computer, smartphones and Wi-Fi devices against millions of bad web sites. Protect your children and family from gaining access to bad web sites and protect your devices and pc from being infected with Malware or Ransomware.
Although bash is available in most distributions, this is not always the case.
A notable example are docker containers based on Alpine linux it's more often missing than present.
This PR makes sure it works everywhere by relying on a shell instead of a specific shell.
The FHS defines that if the system has shells (1 or more), at least one of them should be in /bin. So the forced location is not a problem.
The script itself doesn't need any change, it always does exactly the same. It doesn't matter if you use bash, zsh, csh or even busybox.
Although bash is available in most distributions, this is not always the case. A notable example are docker containers based on Alpine linux it's more often missing than present. This PR makes sure it works everywhere by relying on a shell instead of a specific shell.
The FHS defines that if the system has shells (1 or more), at least one of them should be in
/bin
. So the forced location is not a problem.The script itself doesn't need any change, it always does exactly the same. It doesn't matter if you use bash, zsh, csh or even busybox.