nodogsplash2: remove reference to dead code 399/head
authorMoritz Warning <moritzwarning@web.de>
Tue, 31 Jul 2018 16:30:08 +0000 (18:30 +0200)
committerMoritz Warning <moritzwarning@web.de>
Tue, 31 Jul 2018 16:30:08 +0000 (18:30 +0200)
Signed-off-by: Moritz Warning <moritzwarning@web.de>
nodogsplash2/files/etc/init.d/nodogsplash

index 3834788e45b1252ccc52b120cb9bc0b77bf9224f..136082cc3c4aa479e19fb2a1fdd41ab07bad367c 100755 (executable)
@@ -174,11 +174,6 @@ create_instance() {
 
   generate_uci_config "$cfg"
 
-  if ! test_module; then
-    echo "Nodogsplash is missing some kernel modules." >&2
-    exit 1
-  fi
-
   procd_open_instance $cfg
   procd_set_param command /usr/bin/nodogsplash -c "/tmp/etc/nodogsplash_$cfg.conf" $OPTIONS
   procd_set_param respawn