Skip to content

Commit

Permalink
Support for Wifi
Browse files Browse the repository at this point in the history
  • Loading branch information
saidinesh5 committed Jul 9, 2016
1 parent 034af71 commit c207411
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions sparse/etc/xtwifi.conf
19 changes: 19 additions & 0 deletions sparse/lib/systemd/system/wifi-module-load.service
@@ -0,0 +1,19 @@
[Unit]
Description=Load wifi module
After=droid-late-start.service
Before=network.target
Conflicts=shutdown.target actdead.target

[Service]
Type=simple
RemainAfterExit=yes
ExecStartPre=/bin/touch /dev/wcnss_wlan
ExecStartPre=/bin/sleep 10
ExecStart=/sbin/modprobe wlan
ExecStop=/sbin/rmmod wlan
Restart=on-failure
RestartSec=2

[Install]
WantedBy=basic.target

0 comments on commit c207411

Please sign in to comment.