2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00
repo/extra/dhcpcd/build

17 lines
339 B
Plaintext
Raw Normal View History

2019-07-04 10:02:03 -06:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
2020-05-08 02:34:29 -06:00
--rundir=/run \
--libexecdir=/usr/lib/dhcpcd
2019-07-04 10:02:03 -06:00
make
2021-11-05 00:03:06 -06:00
make BINMODE=755 install
2019-07-04 10:02:03 -06:00
# Install runit service.
2021-07-01 10:27:32 -06:00
mkdir -p "$1/etc/sv/dhcpcd"
cp -f dhcpcd.run "$1/etc/sv/dhcpcd/run"
ln -sf /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise"