2021-07-09 16:25:08 -06:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/bin \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-dbus
|
|
|
|
|
|
|
|
make
|
2021-07-17 12:34:12 -06:00
|
|
|
make install
|
2021-07-09 16:25:08 -06:00
|
|
|
|
2021-07-19 03:57:42 -06:00
|
|
|
cp -f iwd_passphrase "$1/usr/bin"
|
|
|
|
|
2021-07-09 16:25:08 -06:00
|
|
|
# Install runit service.
|
2021-07-17 23:40:37 -06:00
|
|
|
mkdir -p "$1/etc/sv/eiwd"
|
|
|
|
cp -f eiwd.run "$1/etc/sv/eiwd/run"
|
|
|
|
ln -sf /run/runit/supervise.eiwd "$1/etc/sv/eiwd/supervise"
|