#!/bin/sh #------------------------------------------------------------------------------ # /etc/init.d/wlan-modules - start script wlan drivers # # Copyright (c) 2002 Frank Meyer # # Creation: 15.03.2005 nico # Last Update: $Id$ # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #------------------------------------------------------------------------------ # include eislib . /var/install/include/eislib . /etc/config.d/base case "$1" in start) # Running Modules-Config Scripts for i in /etc/wlan/module_* do if [ -f "$i" ] then . $i start fi done ;; stop) # Running Modules-Config Scripts for i in /etc/wlan/module_* do if [ -f "$i" ] then . $i stop fi done ;; *) mecho -info "Usage: $0 {start|stop}" exit 1 ;; esac exit 0