Haut leider gar nicht hin
[root(at)strawberry ppp]# cat /etc/ppp/ppp.linkup
default:
!bg /usr/local/bin/foo
# !bg "/sbin/ipf -y"
# !bg "/sbin/ipnat -F"
# !bg /usr/local/etc/rc.d/120.sockd.sh
[root(at)strawberry ppp]# cat /usr/local/bin/foo
#!/bin/sh
(
mach etwas
) >/tmp/foo.out 2>&1
[root(at)strawberry ppp]# ls /tmp
total 3
drwxrwxrwt 3 root wheel 512 Dec 31 17:33
drwxr-xr-x 19 root wheel 512 Jul 6 12:01 ..
drwx------ 2 operator operator 512 Dec 31 03:04 amanda
Im zweiten Fall solltest du prüfen, ob die Datei auch ausführbar ist.
Ich habe sie schon auf 777 gesetzt ohne Erfolg.
> PS: mir erscheint es merkwürdig, daß du ein Script aus
> /usr/local/etc/rc.d verwendest, das gehören nur start/stop Scripte
> hin, die dann auch entsprechende Parameter bekommen.
> Auch werde die bereits beim Systemstart angefasst.
Das ist für socks, damit er mir bei jedem neuen dailup die aktuelle
IP in die socks config einträgt.
Cheers Tom
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 31 Dec 2002 - 18:01:50 CET