Bob Mottram преди 10 години
родител
ревизия
56b01c806f
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh Целия файл

7199
   service hostapd restart
7199
   service hostapd restart
7200
   if [ ! "$?" = "0" ]; then
7200
   if [ ! "$?" = "0" ]; then
7201
 	  echo 'Unable to restart hostapd'
7201
 	  echo 'Unable to restart hostapd'
7202
+	  systemctl status hostapd.service
7202
 	  exit 854
7203
 	  exit 854
7203
   fi
7204
   fi
7204
 
7205
 
7208
   service dnsmasq restart
7209
   service dnsmasq restart
7209
   if [ ! "$?" = "0" ]; then
7210
   if [ ! "$?" = "0" ]; then
7210
 	  echo 'Unable to restart dnsmasq'
7211
 	  echo 'Unable to restart dnsmasq'
7212
+	  systemctl status dnsmasq.service
7211
 	  exit 856
7213
 	  exit 856
7212
   fi
7214
   fi
7213
 
7215