-
Help with F-Prot install script from Fabian!
I have tried to use fabian's f-prot "install" script:
#
# Install f-prot - useful in combination with persistant home
#
# GPL
#
# Author: Fabian Franz <[email protected]>
#
mkdir -p $HOME/software/
cd $HOME/software/
wget ftp://ftp.f-prot.com/pub/linux/fp-linux-sb.tar.gz
tar xzf fp-linux-sb.tar.gz
mkdir -p $HOME/man/man8
mkdir -p $HOME/bin
ln -fs $(pwd)/f-prot/f-prot.sh $HOME/bin/f-prot
ln -fs $(pwd)/f-prot/check-updates.sh $HOME/bin/check-updates.sh
ln -fs $(pwd)/f-prot/man8/f-prot.8 $HOME/man/man8/
ln -fs $(pwd)/f-prot/man8/check-updates.sh.8 $HOME/man/man8/
# Setting up Manpath & PATH for f-prot
cp $HOME/.bashrc $HOME/.bashrc.templ
cat $HOME/.bashrc.templ | grep -v "export MANPATH=\$HOME/man" | grep -v "export PATH=\$HOME/bin/"> $HOME/.bashrc
echo "export MANPATH=\$HOME/man/:\$MANPATH" >> $HOME/.bashrc
echo "export PATH=\$HOME/bin/:\$PATH" >> $HOME/.bashrc
rm -f $HOME/.bashrc.templ
# Fix pathes
cp f-prot/f-prot.sh /tmp/f-prot.$$
sed 's%/usr/local/f-prot/%'$(pwd)'/f-prot/%g' /tmp/f-prot.$$ > f-prot/f-prot.sh
cp f-prot/check-updates.sh /tmp/f-prot.$$
sed 's%/usr/local/f-prot/%'$(pwd)'/f-prot/%g' /tmp/f-prot.$$ > f-prot/check-updates.sh
rm -f /tmp/f-prot.$$
# cleanup
rm -f fp-linux-sb.tar.gz
But I get an error message:
./f-prot3.sh
--19:19:16-- ftp://ftp.f-prot.com/pub/linux/fp-linux-sb.tar.gz
=> `fp-linux-sb.tar.gz'
Resolving ftp.f-prot.com... done.
Connecting to ftp.f-prot.com[204.118.23.102]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/linux ... done.
==> PASV ... done. ==> RETR fp-linux-sb.tar.gz ...
No such file `fp-linux-sb.tar.gz'.
tar (child): fp-linux-sb.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
cp: cannot stat `f-prot/check-updates.sh': No such file or directory
./f-prot3.sh: line 36: f-prot/check-updates.sh: No such file or directory
knoppix@ttyp0[knoppix]$
I'd really like some advice for this. I am a total newbie to linux and don't know how any bash/shell scripting so I have no idea why this is not working. I'd appreciate your help. I think one of the only things missing from knoppix is to be able to scan your windows partition with an up-to-date virus scanner
Similar Threads
-
Replies: 4
Last Post: 12-07-2004, 07:18 PM
-
By SUOrangeman in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 11-29-2003, 04:12 PM
-
By raid517 in forum Hdd Install / Debian / Apt
Replies: 36
Last Post: 08-31-2003, 06:24 PM
-
By Fabianx in forum Ideas
Replies: 10
Last Post: 07-30-2003, 04:41 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$49.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch
$115.00

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts
$69.00

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks
$224.95

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch
$46.99