Hello, I 've found your script very useful, but it won't work on Devuan (Debian derivative without SystemD)
To make it works, I 've modified the lines to read:
# Check the Linux distribution
if [ -f /etc/os-release ]; then
. /etc/os-release
if [[ "$ID" != "debian" && "$ID" != "ubuntu" && "$ID" != "devuan" ]]; then
echo -e "${RED}Error: This script only supports Debian, Devuan or Ubuntu.${NC}"
exit 1
fi
else
echo -e "${RED}Error: Cannot determine the Linux distribution.${NC}"
exit 1
fi
Hello, I 've found your script very useful, but it won't work on Devuan (Debian derivative without SystemD)
To make it works, I 've modified the lines to read:
And it work flawlessy.
Many thanks for the script and regards
Carlo D.