Sisyphus repository
Last update: 19 july 2019 | SRPMs: 17691 | Visits: 14360242
en ru br
ALT Linux repos
S:20180519-alt1
D:20080605-alt2
5.0: 20081207-alt1
4.1: 20080923-alt1
4.0: 20080806-alt1.M40.1
+backports:20060523-alt0.9
3.0: 1.59-alt1
+backports:20060523-alt0.1.M30.1

Group :: System/Configuration/Printing
RPM: foo2zjs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#!/bin/sh

#foo2zjs_download_fw
# Скрипт для загрузки fw
# $FWMODEL - модель принтера
# $FWDIR - куда потом положить прошивку

FWMODEL="$1"
FWDIR="$2"
if ping -c 1 foo2zjs.rkkda.com; then
getweb $FWMODEL $FWDIR
cd $FWDIR
if [ -f "sihp$FWMODEL.img" ]; then
arm2hpdl sihp$FWMODEL.img > sihp$FWMODEL.dl
sleep 2
rm -f sihp$FWMODEL.img
return 0
fi
return 1
else
return 1
fi
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin