tAdd wlan0 to droid4 rootfs. - arm-sdk - os build toolkit for various embedded devices
HTML git clone https://git.parazyd.org/arm-sdk
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit 0dfe3e5229b237d95ae8ceef570c665c07397a52
DIR parent 6e2d7d9b4f9c1291d1112624de34be76c0010331
HTML Author: parazyd <parazyd@dyne.org>
Date: Sat, 17 Feb 2018 10:33:25 +0100
Add wlan0 to droid4 rootfs.
Diffstat:
A extra/droid4/etc/network/interfaces | 14 ++++++++++++++
D extra/droid4/etc/rc.local | 18 ------------------
2 files changed, 14 insertions(+), 18 deletions(-)
---
DIR diff --git a/extra/droid4/etc/network/interfaces b/extra/droid4/etc/network/interfaces
t@@ -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
DIR diff --git a/extra/droid4/etc/rc.local b/extra/droid4/etc/rc.local
t@@ -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