Commit Graph

30 Commits

Author SHA1 Message Date
Tilghman Lesher
43bd872365 -C option takes a filename, not a directory path.
(closes issue #13007)
 Reported by: klaus3000


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@136190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 20:14:54 +00:00
Tilghman Lesher
aa158e2e46 Define ASTSBINDIR for script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@135482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:07:52 +00:00
Michiel van Baak
1540ba27c1 dont use a bashism way to check the $VERSION variable.
The rc/init.d scripts, and safe_asterisk work on normal sh now again.
Tested on:
OpenBSD 4.2 (me)
Debian etch (me)
Ubuntu Hardy (me and loloski)
FC9 (loloski)

(closes issue #12687)
Reported by: loloski
Patches:
      20080529-12687-safe_asterisk-fixversion.diff.txt uploaded by mvanbaak (license 7)
	  Tested by: loloski, mvanbaak


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@119301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 16:44:39 +00:00
Russell Bryant
5e851ededb Don't exit the script if Asterisk is not running.
(closes issue #12611)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@115554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 15:32:08 +00:00
Russell Bryant
1ae49dd240 Use the same method for executing Asterisk as the rest of the script.
(closes issue #12611)
Reported by: b_plessis


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@115545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 14:40:53 +00:00
Tilghman Lesher
70aedcea79 When starting Asterisk, bug out if Asterisk is already running.
(closes issue #12525)
 Reported by: explidous
 Patches: 
       20080428__bug12525.diff.txt uploaded by Corydon76 (license 14)
 Tested by: mvanbaak


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@115285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05 03:22:25 +00:00
Russell Bryant
ddf66b3a6e Update the SuSE init script to start networking before asterisk, as well.
(closes issue #12200, reported by and change suggested by reinerotto)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@108792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-14 20:04:35 +00:00
Tilghman Lesher
cdf21199a2 Update init script for LSB compat
(closes issue #9843)
 Reported by: ibc
 Patches: 
       rc.debian.asterisk.patch uploaded by ibc (license 211)
 Tested by: paravoid


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@105113 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-28 21:56:54 +00:00
Tilghman Lesher
85779f9c3a Merged revisions 67060 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r67060 | tilghman | 2007-06-04 12:10:30 -0500 (Mon, 04 Jun 2007) | 2 lines

Add revision Id tags (by request of tzafrir)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@67061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-04 17:11:43 +00:00
Russell Bryant
d652806c48 Update init script for SuSE 10. (issue #8363, johnlange)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@53001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 23:38:42 +00:00
Russell Bryant
134c4dcadd Start Asterisk later in the boot process to ensure it starts after stuff like
MySQL (issue #8253, Alric)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:30:53 +00:00
Joshua Colp
0cc2b24ea6 Merged revisions 44198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r44198 | file | 2006-10-02 15:39:59 -0400 (Mon, 02 Oct 2006) | 2 lines

We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 19:41:39 +00:00
Tilghman Lesher
55f00d8816 Merged revisions 37458 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37458 | tilghman | 2006-07-12 13:29:01 -0500 (Wed, 12 Jul 2006) | 2 lines

Merge fixup for asterisk startup script to zaptel startup script

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37459 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 18:39:36 +00:00
Tilghman Lesher
17938ac026 Merged revisions 15615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r15615 | tilghman | 2006-03-28 11:48:18 -0600 (Tue, 28 Mar 2006) | 2 lines

Bug 6815 - Adding quotes to make bash happy

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 17:49:39 +00:00
Tilghman Lesher
67aa4a721d Merged revisions 14868 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r14868 | tilghman | 2006-03-24 23:07:52 -0600 (Fri, 24 Mar 2006) | 2 lines

Bug 6601 - More configuration abilities for the RH init script

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 05:10:07 +00:00
Tilghman Lesher
662c9aeb23 Bug 6106 - SuSE startup script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-09 23:20:50 +00:00
Kevin P. Fleming
b6b32ebd91 Merged revisions 7285,7299,7310,7329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7285 | tilghman | 2005-12-02 15:12:05 -0600 (Fri, 02 Dec 2005) | 2 lines

Turn on executable bits for startup scripts, and fix bash var interpolation for Mandrake

........
r7299 | oej | 2005-12-02 19:24:40 -0600 (Fri, 02 Dec 2005) | 2 lines

Documenting the default registerattempts setting as 0, continue hammering the server for ever and ever ;-)

........
r7310 | tilghman | 2005-12-03 13:55:05 -0600 (Sat, 03 Dec 2005) | 3 lines

Bug 5925: check for "Unknown", as that's what app_voicemail puts into the field for Unknown callerid
Also, remove useless res checks (initialized to 0; never set)

........
r7329 | kpfleming | 2005-12-04 12:03:07 -0600 (Sun, 04 Dec 2005) | 2 lines

use a more efficient way to get the revision number, that will also report if the working copy contains uncommitted modifications

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 18:12:52 +00:00
Russell Bryant
056d4010e9 Comment out LD_ASSUME_KERNEL by default.
Print error messages if asterisk executable or the asterisk configuration
directory is not found. (issue #5785, #5708)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 21:22:38 +00:00
Kevin P. Fleming
2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Mark Spencer
07b9a5e800 Add slackware initialization (bug #3900)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 03:39:45 +00:00
Mark Spencer
4397ade80e Improve mandrake init files (bug #3699)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-12 06:50:22 +00:00
Mark Spencer
0905b587cf Add debian initialization script (bug #2008)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-24 03:17:52 +00:00
Mark Spencer
404485711e Merge damin's updated redhat scripts for starting/stopping/reloading asterisk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-19 01:48:52 +00:00
Mark Spencer
0d048dee56 Use insmod instead of modprobe (bug #939)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26 13:53:31 +00:00
James Golovich
69f5623a03 Make redhat init.d script call asterisk to reload instead of forcing a restart (bug 1481)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26 07:06:29 +00:00
Malcolm Davenport
b0649afc37 Added first go at a Gentoo rc-script
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-12 02:44:34 +00:00
Jeremy McNamara
68d2aa2491 change version identifier
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1942 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 10:22:29 +00:00
Jeremy McNamara
91f3a18d33 Add Corydon76's mandrake startup scripts. Bug #312
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1941 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-01-11 10:17:38 +00:00
Mark Spencer
e488544457 Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-10-22 15:31:47 +00:00
Mark Spencer
ed6b4c821e Version 0.1.12 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-06-19 02:35:40 +00:00