Re: run-parts führt Skript nicht aus
Hallo!
Ein einfaches 'man run-parts' haette dir auch schon geholfen.
run-parts runs a number of scripts or programs found in a
single directory directory. Filenames should
consist entirely of upper and lower case letters, digits,
underscores, and hyphens. Subdirectories of
directory and files with other names will be silently ignored.
tadaa.
mfG
H.Ashrafi
Michael Koch schrieb:
>
> Hallo Liste,
>
> Kann mir das wer erklären ? warum wird mail_ppp.sh einfach nicht
> ausgeführt/gefunden von run-parts ?
>
> majestix:~# ls -l /etc/ppp/ip-up.d
> total 12
> -rwxr-xr-x 1 root root 240 Feb 17 11:54 fetchmail
> -rwxr-xr-x 1 root root 201 Apr 4 13:05 mail_ppp0.sh
> -rwxr-xr-x 1 root root 336 Nov 16 13:49 postfix
>
> majestix:~# run-parts --test /etc/ppp/ip-up.d
> /etc/ppp/ip-up.d/fetchmail
> /etc/ppp/ip-up.d/postfix
>
> majestix:~# head -n 1 /etc/ppp/ip-up.d/fetchmail
> #!/bin/sh
>
> majestix:~# head -n 1 /etc/ppp/ip-up.d/mail_ppp0.sh
> #!/bin/sh
>
> Weiss jemand, woran das liegen kann ? Ich glaube ich sehe den Wald vor lauter
> Bäumen nicht und stehe zusätzlich auf der Leitung.
>
> Gruss,
> Michael
> --
> Bremische Hafenvertretung e.V. tel: +49 (421) 3090148
> IT-Abteilung fax: +49 (421) 3090150
> World Trade Center Bremen mail: mkoch@bremen-ports.de
> Birkenstrasse 15 www: http://www.bremen-ports.de
> D-28201 Bremen
>
> --
> Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
> mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)
--
Zum AUSTRAGEN schicken Sie eine Mail an debian-user-german-request@lists.debian.org
mit dem Subject "unsubscribe". Probleme? Mail an listmaster@lists.debian.org (engl)
Reply to: