mirror of
https://github.com/pygos/build.git
synced 2024-11-25 04:20:41 +01:00
Add raw service list to enable for init package
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
618c79f02e
commit
5dd03bd5fb
4 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
GETTY_TTY="ttyS0"
|
GETTY_TTY="ttyS0"
|
||||||
HWCLOCK="yes"
|
HWCLOCK="yes"
|
||||||
DHCP_PORTS=""
|
DHCP_PORTS=""
|
||||||
|
SERVICES=""
|
|
@ -1,3 +1,4 @@
|
||||||
GETTY_TTY="tty1 tty2 tty3 tty4 tty5 tty6 tty7"
|
GETTY_TTY="tty1 tty2 tty3 tty4 tty5 tty6 tty7"
|
||||||
DHCP_PORTS=""
|
DHCP_PORTS=""
|
||||||
HWCLOCK="no"
|
HWCLOCK="no"
|
||||||
|
SERVICES=""
|
|
@ -61,7 +61,11 @@ deploy() {
|
||||||
ln -s "/share/init/dhcpcd" "$DEPLOY/etc/init.d/dhcpcd@$svc"
|
ln -s "/share/init/dhcpcd" "$DEPLOY/etc/init.d/dhcpcd@$svc"
|
||||||
done
|
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() {
|
check_update() {
|
||||||
|
|
1
product/router/INIT
Normal file
1
product/router/INIT
Normal file
|
@ -0,0 +1 @@
|
||||||
|
SERVICES+="unbound dnsmasq"
|
Loading…
Reference in a new issue