2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-04 22:15:37 -07:00
repo/extra/dhcpcd/build
2021-07-17 21:27:48 +03:00

17 lines
327 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
--rundir=/run \
--libexecdir=/usr/lib/dhcpcd
make
make install
# Install runit service.
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"