2022-02-07 18:17:40 +01:00
|
|
|
packages() {
|
|
|
|
addpkg dhcpcd
|
|
|
|
}
|
|
|
|
|
|
|
|
config() {
|
|
|
|
enable_service dhcpcd
|
2022-02-09 13:36:43 +01:00
|
|
|
echo "network={" >> /etc/wpa_supplicant/wpa_supplicant.conf
|
|
|
|
echo " ssid=\"celle.freifunk.net\"" >> /etc/wpa_supplicant/wpa_supplicant.conf
|
|
|
|
echo " key_mgmt=NONE" >> /etc/wpa_supplicant/wpa_supplicant.conf
|
|
|
|
echo "}" >> /etc/wpa_supplicant/wpa_supplicant.conf
|
|
|
|
mkdir -p /usr/libexec/dhcpcd-hooks
|
|
|
|
ln -s /usr/share/dhcpcd/hooks/10-wpa_supplicant /usr/libexec/dhcpcd-hooks
|
2022-02-07 18:17:40 +01:00
|
|
|
}
|