summaryrefslogtreecommitdiff
path: root/scripts/vyatta-cfg-cmd-wrapper
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2009-04-21 17:28:55 -0700
committerStig Thormodsrud <stig@vyatta.com>2009-04-21 17:28:55 -0700
commita9ee6ae9f37d066a022341ecc472e9560bc64fb1 (patch)
tree4d36f24f922db15d81395131c749b2f4830f68a7 /scripts/vyatta-cfg-cmd-wrapper
parentfa0ba2ecb40898257a1e18b176db187fe0baebf1 (diff)
downloadvyatta-cfg-a9ee6ae9f37d066a022341ecc472e9560bc64fb1.tar.gz
vyatta-cfg-a9ee6ae9f37d066a022341ecc472e9560bc64fb1.zip
Add some debug files to help diagnose boot issue with new cli ordering.
These should be removed before release.
Diffstat (limited to 'scripts/vyatta-cfg-cmd-wrapper')
-rwxr-xr-xscripts/vyatta-cfg-cmd-wrapper5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/vyatta-cfg-cmd-wrapper b/scripts/vyatta-cfg-cmd-wrapper
index e994742..144fc2a 100755
--- a/scripts/vyatta-cfg-cmd-wrapper
+++ b/scripts/vyatta-cfg-cmd-wrapper
@@ -80,7 +80,10 @@ case "$1" in
RET_STATUS=$?
;;
commit)
- /opt/vyatta/sbin/my_commit
+ # debug file /tmp/bar should be deleted before release
+ /opt/vyatta/sbin/my_commit -a >> /tmp/bar
+ /opt/vyatta/sbin/my_commit -s >> /tmp/bar
+ /opt/vyatta/sbin/my_commit -e -d >> /tmp/bar
RET_STATUS=$?
;;
save)