mirror of https://github.com/parazyd/arm-sdk.git
Add wlan0 to droid4 rootfs.
This commit is contained in:
parent
6e2d7d9b4f
commit
0dfe3e5229
|
|
@ -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
|
||||||
|
|
@ -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
|
|
||||||
Loading…
Reference in New Issue