[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lynx in ip-up: no terminal



Isn't it possible to use wget or wwwoffle instead?

I'm using wwwoffle like this:

tpo@localhost:~$ cat /etc/ppp/ip-up.d/4wwwoffle
#!/bin/sh -e

echo "wwwoffle: start" >> /var/log/mylog
# -gi also fetch images
# -gf also fetch frames
/usr/bin/wwwoffle -gi -gf /etc/wwwoffle.html

# put wwwoffle in online mode
/usr/bin/wwwoffle -c /etc/wwwoffle/wwwoffle.conf -online

# optionally fetch marked pages
if grep -qsx fetch /etc/wwwoffle/wwwoffle.options; then
  /usr/bin/wwwoffle -c /etc/wwwoffle/wwwoffle.conf -fetch &
fi

Where /etc/wwwoffle.html contains all the pages I want to fetch/update.
*t

----------------------------------------------------------------------------
             Tomas Pospisek - Freelance: Linuxing, Networking
                       http://spin.ch/~tpo/freelance
----------------------------------------------------------------------------




Reply to: