1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-18 03:26:14 +02:00

Add raw service list to enable for init package

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-06-05 00:25:39 +02:00
parent 618c79f02e
commit 5dd03bd5fb
4 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,4 @@
GETTY_TTY="ttyS0"
HWCLOCK="yes"
DHCP_PORTS=""
DHCP_PORTS=""
SERVICES=""

View file

@ -1,3 +1,4 @@
GETTY_TTY="tty1 tty2 tty3 tty4 tty5 tty6 tty7"
DHCP_PORTS=""
HWCLOCK="no"
SERVICES=""

View file

@ -61,7 +61,11 @@ deploy() {
ln -s "/share/init/dhcpcd" "$DEPLOY/etc/init.d/dhcpcd@$svc"
done
unset -v i GETTY_TTY HWCLOCK DHCP_PORTS
for svc in $SERVICES; do
ln -s "/share/init/$svc" "$DEPLOY/etc/init.d/$svc"
done
unset -v i GETTY_TTY HWCLOCK DHCP_PORTS SERVICES
}
check_update() {

1
product/router/INIT Normal file
View file

@ -0,0 +1 @@
SERVICES+="unbound dnsmasq"