#! /bin/bash
### BEGIN INIT INFO
# Provides: rtl8187
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: fixes 123 error in rtl8187
### END INIT INFO
rmmod rtl8187
rfkill block all
rfkill unblock all
modprobe rtl8187
rfkill unblock all
ifconfig wlan0 up
ifconfig wlan1 up