mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
asterisk: move initscript to src/initscripts/packages and use new macro
Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
This commit is contained in:
@@ -152,6 +152,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
# generate softlink (or asterisk will not work properly)
|
||||
ln -sf /var/ipfire/asterisk /etc/asterisk
|
||||
|
||||
#install initscripts
|
||||
$(call INSTALL_INITSCRIPT,asterisk)
|
||||
|
||||
# make asterisk start with reboot
|
||||
ln -sf /etc/rc.d/init.d/asterisk /etc/rc.d/rc0.d/K30asterisk
|
||||
ln -sf /etc/rc.d/init.d/asterisk /etc/rc.d/rc6.d/K30asterisk
|
||||
|
||||
Reference in New Issue
Block a user