rbrindley: branch 2.0 r4810 - /branches/2.0/Makefile

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Jun 1 10:09:29 CDT 2009


Author: rbrindley
Date: Mon Jun  1 10:09:26 2009
New Revision: 4810

URL: http://svn.asterisk.org/svn-view/asterisk-gui?view=rev&rev=4810
Log:

- added a make config that installs the init.d/asterisk-gui service


Modified:
    branches/2.0/Makefile

Modified: branches/2.0/Makefile
URL: http://svn.asterisk.org/svn-view/asterisk-gui/branches/2.0/Makefile?view=diff&rev=4810&r1=4809&r2=4810
==============================================================================
--- branches/2.0/Makefile (original)
+++ branches/2.0/Makefile Mon Jun  1 10:09:26 2009
@@ -114,6 +114,16 @@
 
 $(SUBDIRS):
 	@$(MAKE) -C $@
+
+config:
+	@cp /usr/share/doc/asterisk-gui/init.d/rc.asterisk-gui /etc/rc.d/init.d/asterisk-gui
+	@chmod 755 /etc/rc.d/init.d/asterisk-gui
+	@chkconfig --add asterisk-gui
+	@echo " +-------- Asterisk-GUI Config Complete -------+"
+	@echo " + The Asterisk-GUI has been added to your     +"
+	@echo " + services:                                   +"
+	@echo " + service <asterisk-gui> {start|stop|restart} +"
+	@echo " +---------------------------------------------+"
 
 checkconfig:
 	@echo " --- Checking Asterisk configuration to see if it will support the GUI ---"




More information about the asterisk-gui-commits mailing list