Add wlan0 to droid4 rootfs.

This commit is contained in:
parazyd 2018-02-17 10:33:25 +01:00
parent 6e2d7d9b4f
commit 0dfe3e5229
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
2 changed files with 14 additions and 18 deletions

View File

@ -0,0 +1,14 @@
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
# source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

View File

@ -1,18 +0,0 @@
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
## regen ssh keys on first boot
[ -f /etc/ssh/ssh_host_rsa_key.pub ] || ssh-keygen -A
# droid4 lcd brightness
echo 200 > /sys/class/backlight/lcd/brightness
exit 0