Remove default hostapd before installing customized one
Remove default interfaces file after debootstrap process
This commit is contained in:
parent
ec9e9e8f7b
commit
bc2e880c3a
@ -19,6 +19,9 @@ display_alert "Applying distribution specific tweaks for" "$RELEASE" "info"
|
||||
|
||||
# Common
|
||||
|
||||
# remove default interfaces file if present
|
||||
rm $CACHEDIR/sdcard/etc/network/interfaces
|
||||
|
||||
# configure the system for unattended upgrades
|
||||
cp $SRC/lib/scripts/50unattended-upgrades $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
cp $SRC/lib/scripts/02periodic $CACHEDIR/sdcard/etc/apt/apt.conf.d/02periodic
|
||||
|
||||
@ -128,4 +128,5 @@ compile_hostapd()
|
||||
[[ ! -f $DEST/debs/armbian-hostapd-${RELEASE}_${REVISION}_${ARCH}.deb ]] && compile_hostapd
|
||||
|
||||
display_alert "Installing" "armbian-hostapd-${RELEASE}_${REVISION}_${ARCH}.deb" "info"
|
||||
chroot $CACHEDIR/sdcard /bin/bash -c "dpkg -i /tmp/armbian-hostapd-${RELEASE}_${REVISION}_${ARCH}.deb" >> $DEST/debug/hostapd-build.log
|
||||
chroot $CACHEDIR/sdcard /bin/bash -c "dpkg -r hostapd" >> $DEST/debug/output.log
|
||||
chroot $CACHEDIR/sdcard /bin/bash -c "dpkg -i /tmp/armbian-hostapd-${RELEASE}_${REVISION}_${ARCH}.deb" >> $DEST/debug/output.log
|
||||
|
||||
Loading…
Reference in New Issue
Block a user