Added dhcpcd
This commit is contained in:
parent
554825b5e8
commit
6f3a98b778
@ -612,6 +612,31 @@ make -j $THREADS
|
|||||||
make -j $THREADS install
|
make -j $THREADS install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# dhcpcd Build
|
||||||
|
tar xf ../sources/dhcpcd-*.tar*
|
||||||
|
cd dhcpcd-*/
|
||||||
|
./configure \
|
||||||
|
--bindir=/bin \
|
||||||
|
--libdir=/lib \
|
||||||
|
--libexecdir=/lib \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sbindir=/sbin \
|
||||||
|
--sysconfdir=/etc
|
||||||
|
make -j $THREADS
|
||||||
|
make -j $THREADS install
|
||||||
|
# NOTE: dhcpcd doesn't come with OpenRC support, so we need to add the entry
|
||||||
|
# under /etc/init.d. First time actually writing an OpenRC service, so
|
||||||
|
# expect strangeness to occur. ~ahill
|
||||||
|
echo "#!/sbin/openrc-run" > /etc/init.d/dhcpcd
|
||||||
|
echo "description=\"DHCP Client Daemon\"" >> /etc/init.d/dhcpcd
|
||||||
|
echo "command=\"/sbin/dhcpcd\"" >> /etc/init.d/dhcpcd
|
||||||
|
echo "command_args=\"-M\"" >> /etc/init.d/dhcpcd
|
||||||
|
echo "command_args_background=\"-b\"" >> /etc/init.d/dhcpcd
|
||||||
|
echo "pidfile=\"/run/dhcpcd.pid\"" >> /etc/init.d/dhcpcd
|
||||||
|
chmod +x /etc/init.d/dhcpcd
|
||||||
|
rc-update add dhcpcd default
|
||||||
|
cd ..
|
||||||
|
|
||||||
# Basic Configuration
|
# Basic Configuration
|
||||||
echo "root::0:0::/home/root:/bin/zsh" > /etc/passwd
|
echo "root::0:0::/home/root:/bin/zsh" > /etc/passwd
|
||||||
echo "root:x:0:root" > /etc/group
|
echo "root:x:0:root" > /etc/group
|
||||||
|
|||||||
@ -6,6 +6,7 @@ e8bb26ad0293f9b5a1fc43fb42ba970e312c66ce92c1b0b16713d7500db251bf,https://ftp.gnu
|
|||||||
937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db,https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.bz2,
|
937610b97c329a1ec9268553fb780037bcfff0dcffe9725ebc4fd9c1aa9075db,https://ftp.gnu.org/gnu/cpio/cpio-2.15.tar.bz2,
|
||||||
4a093979a3c2d02de2fbc00549a32771007f2e78032c6faa5ecd2f7a9e152025,https://curl.se/download/curl-8.13.0.tar.xz,
|
4a093979a3c2d02de2fbc00549a32771007f2e78032c6faa5ecd2f7a9e152025,https://curl.se/download/curl-8.13.0.tar.xz,
|
||||||
a0d845af4bfc1e11ff67986cf9684ac9d158b75c04b20433f1f213d2053680be,https://salsa.debian.org/debian/dash/-/archive/debian/0.5.12-11/dash-debian-0.5.12-11.tar.gz,
|
a0d845af4bfc1e11ff67986cf9684ac9d158b75c04b20433f1f213d2053680be,https://salsa.debian.org/debian/dash/-/archive/debian/0.5.12-11/dash-debian-0.5.12-11.tar.gz,
|
||||||
|
5f257b02f874b3b8cb031e5be79c99cf9cbd4f65eae2a50c9b1beddafb3f51bc,https://github.com/NetworkConfiguration/dhcpcd/releases/download/v10.2.2/dhcpcd-10.2.2.tar.xz,
|
||||||
7c8b7f9fc8609141fdea9cece85249d308624391ff61dedaf528fcb337727dfd,https://ftp.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz,
|
7c8b7f9fc8609141fdea9cece85249d308624391ff61dedaf528fcb337727dfd,https://ftp.gnu.org/gnu/diffutils/diffutils-3.12.tar.xz,
|
||||||
64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527,https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz,
|
64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527,https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz,
|
||||||
354552544b8f99012e5062f7d570ec77f14b412a3ff5c7d8d0dae62c0d217c30,https://github.com/libexpat/libexpat/releases/download/R_2_7_1/expat-2.7.1.tar.xz,
|
354552544b8f99012e5062f7d570ec77f14b412a3ff5c7d8d0dae62c0d217c30,https://github.com/libexpat/libexpat/releases/download/R_2_7_1/expat-2.7.1.tar.xz,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user