#!/bin/sh
#
# Copyright (c) 2013 Brocade Communications Systems, Inc.
# All rights reserved.
#
# Description:
#       Script to backup the factory default configurations.
#
NULL='/dev/null'
SAVEFACTORY=/fabos/factory/configsave.sh

$SAVEFACTORY -factory -save -force >${NULL} 2>&1
if [ $? -eq 0 ];then
	echo "The factory default configurations have been saved."
fi
