Skip to content
Permalink
Browse files

Add wpa_supplicant(8) settings for easy WiFi settings.

  • Loading branch information...
tsutsui committed Feb 16, 2019
1 parent f39fdd9 commit 3215ddc758fd37190e6bc2b63fc396cea505343b
@@ -0,0 +1,3 @@
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1
@@ -38,6 +38,7 @@ PACKAGES=" \
ibus \
adwaita-icon-theme \
arandr \
wpa_gui \
mozc-server mozc-tool ibus-mozc mozc-elisp \
kterm mlterm \
git-base \
@@ -55,6 +56,10 @@ cp ${FILEDIR}/etc.${MACHINE}/ttys /etc
# copy typical mk.conf file
cp ${FILEDIR}/etc/mk.conf /etc

echo "installing wpa_supplicant(8) settings..."
install -o root -g wheel -m 600 ${FILEDIR}/etc/wpa_supplicant.conf /etc
ln -s /usr/share/examples/dhcpcd/hooks/10-wpa_supplicant /libexec/dhcpcd-hooks

echo "installing packages..."
PACKAGESDIR=${FILEDIR}/packages/${MACHINE_ARCH}
(cd ${PACKAGESDIR}; PKG_RCD_SCRIPTS=YES pkg_add $PACKAGES)
@@ -27,6 +27,9 @@ if [ -r "$resources" ]; then
xrdb -load "$resources"
fi

# WiFi status in the tray icon
/usr/pkg/sbin/wpa_gui -t &

# for webkit-gtk and adobe-flash-plugin
#export MOZ_PLUGIN_PATH=/usr/pkg/lib/netscape/plugins

@@ -27,6 +27,9 @@ if [ -r "$resources" ]; then
xrdb -load "$resources"
fi

# WiFi status in the tray icon
/usr/pkg/sbin/wpa_gui -t &

# for webkit-gtk and adobe-flash-plugin
#export MOZ_PLUGIN_PATH=/usr/pkg/lib/netscape/plugins

0 comments on commit 3215ddc

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.