pari: branch 2.0 r4082 - in /branches/2.0/scripts: restorebackup takebackup
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Mon Nov 10 11:26:32 CST 2008
Author: pari
Date: Mon Nov 10 11:26:31 2008
New Revision: 4082
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4082
Log:
Fixing AA50 backup scripts
Modified:
branches/2.0/scripts/restorebackup
branches/2.0/scripts/takebackup
Modified: branches/2.0/scripts/restorebackup
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/scripts/restorebackup?view=diff&rev=4082&r1=4081&r2=4082
==============================================================================
--- branches/2.0/scripts/restorebackup (original)
+++ branches/2.0/scripts/restorebackup Mon Nov 10 11:26:31 2008
@@ -1,3 +1,9 @@
#!/bin/bash
tar -xf $1 -C /
+# clean out dhcpcd cache data
+rm /etc/config/dhcpcd*
+save_config
+sync
+sleep 1
+reboot
Modified: branches/2.0/scripts/takebackup
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/scripts/takebackup?view=diff&rev=4082&r1=4081&r2=4082
==============================================================================
--- branches/2.0/scripts/takebackup (original)
+++ branches/2.0/scripts/takebackup Mon Nov 10 11:26:31 2008
@@ -1,4 +1,5 @@
#!/bin/sh
-/bin/tar -cf $1 /etc/asterisk
+/bin/tar -cf $1 /etc/asterisk /etc/localtime
+
More information about the asterisk-gui-commits
mailing list