Closed hkfuertes closed 5 months ago
Credit to @Ioniq3 on #50 for the Bluetooth example commented on variables.sh
.
HI, in my personalization brach i use this sentences in the first boot if you need it:
sed -i 's/wpa_passphrase=ConnectAAWirelessDongle/wpa_passphrase=1234567890/' /etc/hostapd.conf
sed -i 's/ssid=AAWirelessDongle/ssid=AndroidAuto_'$xx'/' /etc/hostapd.conf
@hkfuertes Here are some thoughts:
mount
directly from a new init script, we can update /etc/fstab to mount the /boot as well./boot/aawg.env.sh
? Let's move /etc/aawgd.env
to /boot/aawg.env.sh
and source it directly./boot/aawg.env.sh
very early in init sequence and make the variable available to more init scripts to update hostapd.conf or to updated the syslogd log path, etc. This might help having a single file to update for customizations.I know this is pretty custom to my needs... I don't know if anyone is related to this changes.... or if they make any sense in any case.... I will close the PR for now. This will be here if in the future is wanted to be opened again...
I was going to pitch this idea as a comment on another PR but its easier if I do it and show you. This PR:
source
)/boot
to/etc/variables.sh
/boot
to/etc/hostapd.conf
Its a suggestion, I'm open to anything, but this adds a layer of personalization on top, if anyone wants to use the bare images customized, without needing to build it.