SHOW:
|
|
- or go back to the newest paste.
| 1 | - | #!/bin/bash |
| 1 | + | #!/bin/bash |
| 2 | - | |
| 2 | + | |
| 3 | - | rm extensions.conf |
| 3 | + | rm extensions.conf |
| 4 | - | sed "s/NEWNUMBER/$1/" < ext-template.conf > extensions.conf |
| 4 | + | sed "s/NEWNUMBER/$1/" < ext-template.conf > extensions.conf |
| 5 | asterisk -rx "core restart now" |