From 80133986a988f145f40536c73a699b7a4191ab62 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 7 Jan 2021 18:14:07 +0100 Subject: [PATCH] We don't need prerequisites stuff, dnsmasq is the default now --- scripts/install | 6 ------ scripts/prerequisites | 8 -------- 2 files changed, 14 deletions(-) delete mode 100644 scripts/prerequisites diff --git a/scripts/install b/scripts/install index 058b6a7..9c67997 100644 --- a/scripts/install +++ b/scripts/install @@ -89,12 +89,6 @@ if [[ $wifi_passphrase =~ [^[:print:]] ]]; then ynh_die --message="Only printable ASCII characters are permitted in your password (WPA2 passphrase)" fi -#================================================= -# RUN PREREQUISITES -#================================================= - -source ./prerequisites - #================================================= # STORE SETTINGS FROM MANIFEST #================================================= diff --git a/scripts/prerequisites b/scripts/prerequisites deleted file mode 100644 index 4da0abc..0000000 --- a/scripts/prerequisites +++ /dev/null @@ -1,8 +0,0 @@ -# Source me - -# Check if dnsmasq is active -systemctl is-active dnsmasq &> /dev/null - -if [[ $? -ne 0 ]]; then - ynh_die --message="You need to enable dnsmasq instead of bind9 (apt-get remove bind9 && systemctl start dnsmasq)" -fi