mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-05 15:13:02 +02:00
- board/common: drop everything not needed by NETCONF mode - board/classic: most board/common helpers relocated here - Simplify Finit scripts for critical services - Source variant from /etc/os-release to select ramdisk /etc Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
16 lines
284 B
Bash
Executable File
16 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
|
|
reserved()
|
|
{
|
|
for svc in avahi dnsmasq getty klish lldpd nginx ssdpd sshd sysklogd sysrepo; do
|
|
[ "$1" = "${svc}.conf" ] && return 0
|
|
done
|
|
|
|
return 1
|
|
}
|
|
|
|
for file in /etc/finit.d/enabled/*.conf; do
|
|
reserved "$(basename "$file")" && continue
|
|
rm "$file"
|
|
done
|