aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 00:54:02 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 00:54:02 +0300
commit549a5e7741e01feb3056e02c4f6c0ed0daa4c9b9 (patch)
tree6f651c74edaca293f2790d55bcb0016ba55a5e59
parent793520f5622d7276553d69f847d46488ba9b5f7f (diff)
downloadrepository-549a5e7741e01feb3056e02c4f6c0ed0daa4c9b9.tar.gz
dhcpcd: use clsv
-rwxr-xr-xextra/dhcpcd/build8
1 files changed, 2 insertions, 6 deletions
diff --git a/extra/dhcpcd/build b/extra/dhcpcd/build
index e180d27e..1625c95d 100755
--- a/extra/dhcpcd/build
+++ b/extra/dhcpcd/build
@@ -13,9 +13,5 @@ export LDFLAGS="$LDFLAGS -static"
make
make DESTDIR="$1" install
-# Install runit service.
-install -Dm755 dhcpcd.run "$1/etc/sv/dhcpcd/run"
-ln -s /run/runit/supervise.dhcpcd "$1/etc/sv/dhcpcd/supervise"
-
-# Install runit service.
-install -Dm755 dhcpcd.run "$1/etc/sysmgr/dhcpcd"
+# Install services
+clsv -d "$1" dhcpcd.run