Commit Graph

66 Commits

Author SHA1 Message Date
Sean Bright 61c8f9b225 contrib: rc.archlinux.asterisk uses invalid redirect.
`rc.archlinux.asterisk`, which explicitly requests bash in its
shebang, uses the following command syntax:

  ${DAEMON} -rx "core stop now" > /dev/null 2&>1

The intent of which is to execute:

  ${DAEMON} -rx "core stop now"

While sending both stdout and stderr to `/dev/null`. Unfortunately,
because the `&` is in the wrong place, bash is interpreting the `2` as
just an additional argument to the `$DAEMON` command and not as a file
descriptor and proceeds to use the bashism `&>` to send stderr and
stdout to a file named `1`.

So we clean it up and just use bash's shortcut syntax.

Issue raised and a fix suggested (but not used) by peutch on GitHub¹.

ASTERISK-30449 #close

1. https://github.com/asterisk/asterisk/pull/31

Change-Id: Ie279bf4efb4d95cbf507313483d316e977303d19
(cherry picked from commit 46bdd5e3be)
2023-05-08 18:13:35 +00:00
Josh Soref 815e99d5ea contrib: Spelling fixes
Correct typos of the following word families:

standard
increase
comments
valgrind
promiscuous
editing
libtonezone
storage
aggressive
whitespace
russellbryant
consecutive
peternixon

ASTERISK-29714

Change-Id: I9cafbf41b579c9c0c84c81719d2c4f900beec245
2021-11-16 06:02:11 -06:00
cirillor 7d5409912f Variable ALTCONF ignored when service is used in Debian
When variable ALTCONF is defined, the command start prints the message
"Unable to open specified master config file '"/etc/asterisk/asteris..."
and use default configurations.

ASTERISK-28332

Change-Id: I7595e582a0ee2c1051ea35435e247e27906957ef
2019-03-13 10:37:11 -06:00
Sean Bright fd0ca1c3f9 Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
2017-12-22 09:23:22 -05:00
Matthew Jordan a3e7a77a82 Update init.d scripts to handle stderr; readd splash screen for remote consoles
When r376428 was commited to re-order start up sequences to be more tolerant of
forking with thread primitives, a few items were changed that caused changes
in behavior on some distros. This includes:
 * Not displaying the splash screen on a remote console.
 * Displaying an error message on stderr when a remote console cannot connect
   to a running instance of Asterisk.

In the first case, the splash screen was re-added (thanks to Michael L. Young).
In the second case, the various init.d scripts were modified to pipe stderr
to /dev/null, as the error message is useful - if you execute a remote
console or a remote console command execution and it fail, it should tell
you. Note that the error message was always present, it just failed to be
printed prior to r376428.

Much thanks to the folks who quickly reported this problem, provided solutions,
and promptly tested the various init.d scripts on a variety of distros.

(closes issue ASTERISK-20945)
Reported by: Warren Selby
Tested by: Michael L. Young, Jamuel Starkey, kaldemar, Danny Nicholas, mjordan
patches:
  asterisk-20945-remote-intro-msg.diff uploaded by elguero (license 5026)
  ASTERISK-20945-1.8-mjordan.diff uploaded by mjordan (license 6283)
........

Merged revisions 379760 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 379777 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 379790 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-01-21 20:41:12 +00:00
Matthew Jordan 863493118b Added clarification for the VERBOSITY setting to etc_default_asterisk
Clarified that using the VERBOSITY setting in etc_default_asterisk is the
same as using the -v command line switch, which causes Asterisk to launch
in console mode.

(closes issue ASTERISK-17030)
Reported by: Jonas
........

Merged revisions 353550 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 353551 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-02-01 15:07:24 +00:00
Kinsey Moore 55aa263df2 Make debian init script conform to the LSB standard
Previously, this init script would return 1 if Asterisk was already running.
This is incorrect behavior according to the LSB standard and has been fixed by
returning 0 instead.

(closes issue ASTERISK-17958)
Reported-by: johnc
........

Merged revisions 349529 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 349532 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-04 20:24:25 +00:00
Gregory Nietsky 6a0fa4e321 Merged revisions 337902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r337902 | irroot | 2011-09-23 21:18:14 +0200 (Fri, 23 Sep 2011) | 10 lines
  
  Merged revisions 337898 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8
  
  ........
    r337898 | irroot | 2011-09-23 21:14:30 +0200 (Fri, 23 Sep 2011) | 4 lines
    
    
    Spelling fix
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@337910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-23 19:20:41 +00:00
Leif Madsen 6b715d8f5c Merged revisions 337115 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r337115 | lmadsen | 2011-09-20 17:18:25 -0500 (Tue, 20 Sep 2011) | 7 lines
  
  Update RedHat Init script to work with Heartbeat.
  
  The current RedHat init script was not LSB compatible. This change will make it LSB compatible so that
  it can work correctly with Heartbeat.
  
  (Closes issue ASTERISK-18253)
  Reported by: c0rnoTa
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@337117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-20 22:29:24 +00:00
Leif Madsen 7f37d162e7 Merged revisions 319365 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r319365 | lmadsen | 2011-05-17 07:39:37 -0500 (Tue, 17 May 2011) | 6 lines
  
  Make Debian init script lsb compliant
  
  (closes issue #18896)
  Reported by: manwe
  Patches: 
        debian_init_lsb.patch uploaded by manwe (license 1223)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@319366 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-17 12:40:02 +00:00
Jason Parker 96cbd4ffcd Merged revisions 307536 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r307536 | qwell | 2011-02-10 16:39:30 -0600 (Thu, 10 Feb 2011) | 22 lines
  
  Merged revisions 307535 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ................
    r307535 | qwell | 2011-02-10 16:35:49 -0600 (Thu, 10 Feb 2011) | 15 lines
    
    Merged revisions 307534 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.4
    
    ........
      r307534 | qwell | 2011-02-10 16:33:09 -0600 (Thu, 10 Feb 2011) | 8 lines
      
      Remove color when executing commands via a remote console.
      
      Essentially this makes '-x' imply '-n' on rasterisk.  This was done in a
      different and incomplete way previously, which I'm reverting here.
      
      (issue #18776)
      Reported by: alecdavis
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@307537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-02-10 22:43:51 +00:00
Andrew Latham 0703a9a321 Disable color during running test
(closes issue #18776)
Reported by: alecdavis
Patches:
     ast_deb_init.diff uploaded by lathama (license 1028)
Tested by: andrel, lathama


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@307315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-02-09 21:46:24 +00:00
Tilghman Lesher d8744246aa Merged revisions 298827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r298827 | tilghman | 2010-12-17 15:18:18 -0600 (Fri, 17 Dec 2010) | 8 lines
  
  -v implies -f, so override with -F.
  
  (closes issue #18446)
   Reported by: lathama
   Patches: 
         rc.debian.asterisk.diff uploaded by lathama (license 1028)
   Tested by: lathama
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@298833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-12-17 21:19:08 +00:00
Tilghman Lesher 5656e5020f Merged revisions 297821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r297821 | tilghman | 2010-12-07 16:51:05 -0600 (Tue, 07 Dec 2010) | 18 lines
  
  Merged revisions 297819 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ................
    r297819 | tilghman | 2010-12-07 16:40:45 -0600 (Tue, 07 Dec 2010) | 11 lines
    
    Merged revisions 297818 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.4
    
    ........
      r297818 | tilghman | 2010-12-07 16:35:50 -0600 (Tue, 07 Dec 2010) | 4 lines
      
      Use non-deprecated APIs for CoreAudio
      
      Review: https://reviewboard.asterisk.org/r/1040/
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@297822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-12-07 22:54:00 +00:00
Paul Belanger 50af9d5756 Merged revisions 292628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r292628 | pabelanger | 2010-10-21 14:13:18 -0400 (Thu, 21 Oct 2010) | 5 lines
  
  Fix typo in SUSE init script.
  
  Reported by: Dave Cotton on asterisk-users list.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@292630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-21 18:23:41 +00:00
Jason Parker 667f9d28f8 Merged revisions 287195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287195 | qwell | 2010-09-16 17:04:38 -0500 (Thu, 16 Sep 2010) | 7 lines
  
  Don't fail when running the Debian init script directly (as one would normally do).
  
  readlink apparently returns 1 when the arg isn't a symlink, which caused the script to exit.
  
  (closes issue #17910)
  Reported by: wurstsalat
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@287196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-16 22:05:14 +00:00
Paul Belanger 9aafd4c6b1 Merged revisions 269334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r269334 | pabelanger | 2010-06-09 13:24:53 -0400 (Wed, 09 Jun 2010) | 12 lines
  
  Fix Debian init script to not use -c.
  
  When using the init script as-is currently, it could cause issues on Debian
  such as high CPU usage. This fix has worked for several people so I'm
  implementing the change.  We now handle color displays properly.
  
  (closes issue #16784)
  Reported by: pabelanger
  Patches:
        20100530__issue16784__2.diff.txt uploaded by tilghman (license 14)
  Tested by: pabelanger, tilghman
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@269346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-09 17:32:52 +00:00
Tilghman Lesher ef8940efca Take advantage of variable substitution already in the Makefile to specify the correct location for files in init.d.
(closes issue #16979)
 Reported by: jw-asterisk
 
(issue #15691)
 Reported by: itamarjp


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-06 05:29:50 +00:00
Tilghman Lesher 83039d88e4 Merged revisions 266437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r266437 | tilghman | 2010-05-29 23:43:28 -0500 (Sat, 29 May 2010) | 2 lines
  
  Reverting patch and reopening issue #16784, as patch breaks color display.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-30 04:44:28 +00:00
Tilghman Lesher af4a5f0955 Add missing file (pointed out by TheDavidFactor on #asterisk-dev) referenced by revision 239231.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@259189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-04-27 15:25:22 +00:00
Tilghman Lesher a452a07645 Merged revisions 252617 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r252617 | tilghman | 2010-03-15 16:43:14 -0500 (Mon, 15 Mar 2010) | 2 lines
  
  Uh, yeah.  Umask.  I'm stupid.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-15 21:51:55 +00:00
Tilghman Lesher 4c8f14b7cf Merged revisions 252361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r252361 | tilghman | 2010-03-14 20:33:50 -0500 (Sun, 14 Mar 2010) | 4 lines
  
  Launch Asterisk on Mac OS X with launchd.
  
  Reviewboard: https://reviewboard.asterisk.org/r/551/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@252362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-15 01:37:04 +00:00
Leif Madsen 3dda454199 Merged revisions 251309 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r251309 | lmadsen | 2010-03-08 12:07:44 -0600 (Mon, 08 Mar 2010) | 13 lines
  
  Fix Debian init script to not use -c.
  When using the init script as-is currently, it could cause issues on Debian
  such as high CPU usage. This fix has worked for several people so I'm
  implementing the change.
  
  
  (closes issue #16784)
  Reported by: pabelanger
  Tested by: pabelanger, mnick, davidw, mutineer612
  
  (closes issue #16887)
  Reported by: jlpedrosa
  Tested by: jlpedrosa, mutineer612
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@251310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-08 18:08:44 +00:00
Tilghman Lesher dd0ab33cb2 Add LSB headers to init scripts.
(closes issue #14864)
 Reported by: lathama
 Patches: 
       lsb-init-info-debian.diff uploaded by pkempgen (license 169)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-11 23:53:32 +00:00
Tilghman Lesher 38957995ff Permit more options in the Makefile as to startup options
(closes issue #16454)
 Reported by: syspert
 Patches: 
       20091228__issue16454__3.diff.txt uploaded by tilghman (license 14)
 Tested by: syspert


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-11 23:00:55 +00:00
Tilghman Lesher 9ce49d1579 Merged revisions 236433 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r236433 | tilghman | 2009-12-27 12:19:38 -0600 (Sun, 27 Dec 2009) | 2 lines
  
  Turn on colors in the daemon, since there's many requests for it on Ubuntu.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@236434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-27 18:20:53 +00:00
Tzafrir Cohen ec6f1f3ea4 Add LSB headers to the Debian init.d script
See also issue #14864 .


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-07 17:02:38 +00:00
Tilghman Lesher 14a8c042cd Merged revisions 226811 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r226811 | tilghman | 2009-11-02 11:14:20 -0600 (Mon, 02 Nov 2009) | 8 lines
  
  Don't allow two separate instances of safe_asterisk when restarting from the init script.
  (closes issue #14562)
   Reported by: davidw
   Patches: 
         Initially 20091022__issue14562.diff.txt uploaded by tilghman (license 14)
         Modified to 20091030__Issue14562_diff.txt uploaded by davidw (license 780)
   Tested by: davidw
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-02 17:15:31 +00:00
David Brooks 48363c16e1 Fixes numerous spelling errors. Patch submitted by alecdavis.
(closes issue #15595)
Reported by: alecdavis



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@209554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-07-30 16:07:05 +00:00
Sean Bright 4e9cce1b72 Call chgrp instead of chown when setting run directory group ownership.
(issue #13153)
Reported by: pabelanger


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-06-12 02:20:19 +00:00
Michiel van Baak 5b497da128 set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default path
When running asterisk as non-root and without this patch the pidfile wants
to go into /var/run/asterisk.pid. This directory is not writable for
the non-root user and changing permissions is not an option.
Putting it in /var/run/asterisk/asterisk.pid makes it possible
to set permissions on the /var/run/asterisk dir so everything
works as it should be.

Patched committed is based on pabelanger's patch.

(closes issue #13153)
Reported by: pabelanger
Patches:
      2009012900_bug13153-nonrootscripts.diff.txt uploaded by mvanbaak (license 7)

Review: http://reviewboard.digium.com/r/139/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-21 13:13:35 +00:00
Jason Parker 7478e5ecd0 Make this executable
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 21:03:12 +00:00
Jason Parker 493e903892 Add init script for ArchLinux
(closes issue #13667)
Reported by: sherif
Patches:
      archlinux_rc_makefile.patch uploaded by sherif (license 591)
      archlinux_rc_makefile-2.patch uploaded by mvanbaak (license 7)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157460 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 21:01:46 +00:00
Michiel van Baak b0d56687c6 dont use deprecated commands in the init scripts.
(closes issue #13720)
Reported by: decryptus_proformatique
Patches:
      contrib_initd_module_reload.patch uploaded by decryptus (license 555)
	  With mods by me to fix stop commands as well


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-18 09:02:36 +00:00
Tilghman Lesher ebe9c21be4 Merged revisions 136190 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r136190 | tilghman | 2008-08-06 15:14:54 -0500 (Wed, 06 Aug 2008) | 4 lines

-C option takes a filename, not a directory path.
(closes issue #13007)
 Reported by: klaus3000

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06 20:15:34 +00:00
Tilghman Lesher 7e8f0ab219 Rename Mandrake scripts to Mandriva
(Closes issue #13221)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:12:15 +00:00
Tilghman Lesher ffbd21ad7f Merged revisions 135482 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r135482 | tilghman | 2008-08-04 12:07:52 -0500 (Mon, 04 Aug 2008) | 2 lines

Define ASTSBINDIR for script
(Closes issue #13221)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@135483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-04 17:08:42 +00:00
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-06-12 17:27:55 +00:00
Michiel van Baak fcc15d65b1 Merged revisions 119301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r119301 | mvanbaak | 2008-05-30 18:44:39 +0200 (Fri, 30 May 2008) | 14 lines

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/trunk@119302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30 16:47:24 +00:00
Russell Bryant e6e42cc7e7 Merged revisions 115554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115554 | russell | 2008-05-08 10:32:08 -0500 (Thu, 08 May 2008) | 3 lines

Don't exit the script if Asterisk is not running.
(closes issue #12611)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 15:32:48 +00:00
Russell Bryant 0f1b96623b Merged revisions 115545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115545 | russell | 2008-05-08 09:40:53 -0500 (Thu, 08 May 2008) | 4 lines

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/trunk@115546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-08 14:41:12 +00:00
Tilghman Lesher e01ada1ca7 Merged revisions 115285 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r115285 | tilghman | 2008-05-04 22:22:25 -0500 (Sun, 04 May 2008) | 7 lines

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/trunk@115286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05 03:25:35 +00:00
Russell Bryant a658a02aaa Merged revisions 108792 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r108792 | russell | 2008-03-14 15:04:35 -0500 (Fri, 14 Mar 2008) | 4 lines

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/trunk@108793 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-14 20:04:56 +00:00
Tilghman Lesher b341fa817e Merged revisions 105113 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105113 | tilghman | 2008-02-28 15:56:54 -0600 (Thu, 28 Feb 2008) | 7 lines

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/trunk@105176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-02-29 01:15:20 +00:00
Tilghman Lesher 2f25292c60 Merged revisions 67061 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r67061 | tilghman | 2007-06-04 12:11:43 -0500 (Mon, 04 Jun 2007) | 10 lines

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/trunk@67062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-04 17:12:35 +00:00
Russell Bryant adfe317b7c Merged revisions 53001 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r53001 | russell | 2007-01-30 17:38:42 -0600 (Tue, 30 Jan 2007) | 2 lines

Update init script for SuSE 10.  (issue #8363, johnlange)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-30 23:39:06 +00:00
Russell Bryant 08fc237994 Merged revisions 46563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r46563 | russell | 2006-10-31 01:30:53 -0500 (Tue, 31 Oct 2006) | 3 lines

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/trunk@46564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:31:34 +00:00
Joshua Colp e7e85a8471 Merged revisions 44199 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r44199 | file | 2006-10-02 15:41:39 -0400 (Mon, 02 Oct 2006) | 10 lines

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/trunk@44200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02 19:43:00 +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