- Complete bash framework with strict error handling - Modular library system (docker, alpine, components, initramfs, kernel, testing) - Rust component integration (zinit, rfs, mycelium) with musl targeting - Rootless Docker/Podman support for GitHub Actions - Centralized configuration in config/build.conf - 2-stage module loading system - Strip + UPX optimization for minimal size - Complete zinit integration replacing OpenRC - GitHub Actions CI/CD pipeline - Comprehensive documentation and usage guides Components: - Latest stable kernel 6.12.44 - Alpine Linux 3.22 base - ThreeFold components: zinit, mycelium, rfs, corex - Target: ~8-12MB final initramfs.cpio.xz
10 lines
189 B
Bash
Executable File
10 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
|
|
ntp_flags=$(grep -o 'ntp=.*' /proc/cmdline | sed 's/^ntp=//')
|
|
|
|
params=""
|
|
if [ -n "$ntp_flags" ]; then
|
|
params=$(echo "-p $ntp_flags" | sed s/,/' -p '/g)
|
|
fi
|
|
|
|
exec ntpd -n $params |