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

Re: smail problems (dial-up)

Leon Breedt writes:

 > > I found a command "runq" which seems to push stuff through. Is that what
 > > it's for? If so, how do I get this to happen automatically when I start
 > > the PPP link?
 > any scripts in /etc/ppp/ip-up.d/ get run when the ppp link is established.
 > so, in your case, i'd create in /etc/ppp/ip-up.d/ a script like so:
 > #!/bin/sh
 > if [-x /usr/sbin/runq]; then

You forgot the spaces - [ is actually a program (check /usr/bin/[) so
its name needs to be separate from the -x parameter. Same for the
closing bracket which needs to be a separate parameter.

Alex Shnitman
alexsh@linux.org.il   UIN 188956
http://alexsh.home.ml.org  --  PGP key here
http://www.debian.org  --  and the OS here

Reply to: