Fujitsu V6.10 User Manual
![Fujitsu](https://files.manualsbrain.com/attachments/6c4642b33d2edbd09f94719c20a133aa0e862902/common/fit/150/50/80a45702a21fefb1823bce6851e87db450dccf7792cb572ebc8a90330a68/brand_logo.png)
7 Command-Line Interface
File 2
rem *********************************************************
rem * cli-init.bat ************************
rem * ****************************************************
rem * Batch File to check states of a special server
rem * and to execute StartFlash if states are ok
rem * ------------------------------------------------------
rem * Input-parameters:
rem * - cli-init server(%1) user(%2) Password(%3)
rem * - File "fwpath.txt" with the absolut path of the FirmwareTree
rem *******************************************************
rem
:start
@echo off
rem
rem ********************************************************
rem * Return-File initialisation
rem ********************************************************
rem
@echo off >%1.txt
:start1
rem
rem ********************************************************
rem * "WaitForDone" to check whether there are old flashs
rem * (prepared, ready) or not
rem * If there are states, they are canceled or ceaned
rem * If server is not "online" Timeout occured
rem * Only a server without flash-states will be token for flash
rem * Means returncode 1 is the only one to go on for flash!
rem ********************************************************
rem
gfcli -W -N %1 -L %2 -P %3 -F %1.txt
if %errorlevel%==1 goto nostates
if %errorlevel%==2 goto timeout
if %errorlevel%==3 goto statenok
if %errorlevel%==4 goto errors
if %errorlevel%==5 goto gfierror
if %errorlevel%==6 goto nologop
248
ServerView Update Management