Browse Source

We don't need prerequisites stuff, dnsmasq is the default now

Alexandre Aubin 4 years ago
parent
commit
80133986a9
2 changed files with 0 additions and 14 deletions
  1. 0 6
      scripts/install
  2. 0 8
      scripts/prerequisites

+ 0 - 6
scripts/install

@@ -90,12 +90,6 @@ if [[ $wifi_passphrase =~ [^[:print:]] ]]; then
 fi
 
 #=================================================
-# RUN PREREQUISITES
-#=================================================
-
-source ./prerequisites
-
-#=================================================
 # STORE SETTINGS FROM MANIFEST
 #=================================================
 ynh_script_progression --message="Storing installation settings..."

+ 0 - 8
scripts/prerequisites

@@ -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