hostapd for wifi
This commit is contained in:
parent
091db1eb1e
commit
de008e4f99
|
@ -1014,7 +1014,7 @@ chroot "$rootdir" apt-get install -y libnss-mdns libnss-myhostname libnss-gw-nam
|
||||||
chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant usbutils
|
chroot "$rootdir" apt-get install -y locales locales-all debconf wireless-tools wpasupplicant usbutils
|
||||||
if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
|
if [[ $ARCHITECTURE == 'qemu'* || $ARCHITECTURE == 'i386' || $ARCHITECTURE == 'i686' || $ARCHITECTURE == 'amd64' || $ARCHITECTURE == 'x86_64' ]]; then
|
||||||
chroot "$rootdir" apt-get install -y cryptsetup zsh pinentry-curses iotop bc
|
chroot "$rootdir" apt-get install -y cryptsetup zsh pinentry-curses iotop bc
|
||||||
chroot "$rootdir" apt-get install -y grub2
|
chroot "$rootdir" apt-get install -y grub2 hostapd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s|#host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
|
sed -i "s|#host-name=.*|host-name=${PROJECT_NAME}|g" $rootdir/etc/avahi/avahi-daemon.conf
|
||||||
|
|
Loading…
Reference in New Issue