mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 19:20:10 -07:00
18 lines
360 B
Bash
Executable File
18 lines
360 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin \
|
|
--sysconfdir=/etc \
|
|
--rundir=/run \
|
|
--libexecdir=/usr/lib/dhcpcd \
|
|
--without-udev
|
|
|
|
make
|
|
make BINMODE=755 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"
|