live_dahdi: symlink_ast
live_dahdi: Add a new command: symlink_ast, to make the system's /etc/asterisk/dahdi-channels.conf a symlink to the one generated by 'reload' / 'genconf'. If the system dahdi-channels.conf is a generated one and has not edited, there's no real harm with running this. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10057 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
parent
b2f71aa2b8
commit
26116a08c5
@ -224,6 +224,7 @@ usage() {
|
||||
echo "$me xpp-firm (Reset and load xpp firmware)"
|
||||
echo "$me genconf dahdi_genconf; dahdi_cfg"
|
||||
echo "$me asterisk /etc/init.d/asterisk start"
|
||||
echo "$me symlink_ast symlink dahdi-channels.conf"
|
||||
echo "$me rsync TARGET (copy filea to /tmp/live in host TARGET)"
|
||||
echo "$me exec COMMAND (Run COMMAND in 'live' environment)"
|
||||
echo ""
|
||||
@ -299,6 +300,9 @@ genconf)
|
||||
asterisk)
|
||||
run_asterisk
|
||||
;;
|
||||
symlink_ast)
|
||||
ln -sf "$DESTDIR/etc/asterisk/dahdi-channels.conf" /etc/asterisk/
|
||||
;;
|
||||
reload)
|
||||
$0 unload
|
||||
$0 load
|
||||
|
Loading…
Reference in New Issue
Block a user