From 0dfe3e5229b237d95ae8ceef570c665c07397a52 Mon Sep 17 00:00:00 2001 From: parazyd Date: Sat, 17 Feb 2018 10:33:25 +0100 Subject: [PATCH] Add wlan0 to droid4 rootfs. --- extra/droid4/etc/network/interfaces | 14 ++++++++++++++ extra/droid4/etc/rc.local | 18 ------------------ 2 files changed, 14 insertions(+), 18 deletions(-) create mode 100644 extra/droid4/etc/network/interfaces delete mode 100755 extra/droid4/etc/rc.local diff --git a/extra/droid4/etc/network/interfaces b/extra/droid4/etc/network/interfaces new file mode 100644 index 0000000..f499835 --- /dev/null +++ b/extra/droid4/etc/network/interfaces @@ -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 diff --git a/extra/droid4/etc/rc.local b/extra/droid4/etc/rc.local deleted file mode 100755 index 596367c..0000000 --- a/extra/droid4/etc/rc.local +++ /dev/null @@ -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