run-parts führt Skript nicht aus
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-x1 root root 240 Feb 17 11:54 fetchmail -rwxr-xr-x1 root root 201 Apr 4 13:05 mail_ppp0.sh -rwxr-xr-x1 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-Abteilungfax: +49 (421) 3090150 World Trade Center Bremen mail: [EMAIL PROTECTED] Birkenstrasse 15 www: http://www.bremen-ports.de D-28201 Bremen -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: run-parts führt Skript nicht aus
Michael Koch [EMAIL PROTECTED] writes: -rwxr-xr-x1 root root 240 Feb 17 11:54 fetchmail -rwxr-xr-x1 root root 201 Apr 4 13:05 mail_ppp0.sh -rwxr-xr-x1 root root 336 Nov 16 13:49 postfix Fällt dir nix auf ? Lass mal .sh weg :) -- begin OjE-ist-scheisse.txt bye, Joerg Registered Linux User #97793 @ http://counter.li.org end -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: run-parts führt Skript nicht aus
On Thu, Apr 04, 2002 at 01:05:57PM +0200, Michael Koch wrote: Kann mir das wer erklären ? warum wird mail_ppp.sh einfach nicht ausgeführt/gefunden von run-parts ? man run-parts 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. Laß also den Dos-Spoiler .sh weg und alles wird gut. -- Martin Reising mailaddress see header natural computing GmbH http://www.natural-computing.de/ Martener Str. 535 Phone: +49 231 6104850 44379 Dortmund Fax: +49 231 6104840 -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: run-parts führt Skript nicht aus
Michael Koch [EMAIL PROTECTED] writes: -rwxr-xr-x1 root root 240 Feb 17 11:54 fetchmail -rwxr-xr-x1 root root 201 Apr 4 13:05 mail_ppp0.sh -rwxr-xr-x1 root root 336 Nov 16 13:49 postfix Fällt dir nix auf ? Lass mal .sh weg :) Danke für den Tipp. Ich have die Datei jetzt umbenannt in mail_ppp0 und es scheint zu gehen. Zumindest findet run-parts --test das Skript jetzt. Frage ist nur: Warum findet run-parts das Skript nicht wenn .sh hinten dranhängt. Ist das ein Bug ? Soll ich den melden ? Oder muss das so sein ? (Grübel) Gruss, Michael -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: run-parts führt Skript nicht aus
Michael Koch [EMAIL PROTECTED] 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-x1 root root 240 Feb 17 11:54 fetchmail -rwxr-xr-x1 root root 201 Apr 4 13:05 mail_ppp0.sh -rwxr-xr-x1 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 man run-parts: | 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. Der Punkt ist es, der dir die Suppe versalzt. Gruß, Frank -- Frank Fürst, physikalische Biochemie, Universität Potsdam, Germany Tel.: +49-331-977-5062 Fax: +49-331-977-5062 -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: run-parts führt Skript nicht aus
[EMAIL PROTECTED] writes: Moin! Ansicht nach ist das jetzt ein dokumentiertes Fehlverhalten, denn ein Punkt sollte erlaubt sein. Es ist ein bewusstes Verhalten, damit Scripte wie z.B. leafnode.dpkg-old nicht ausgeführt werden. Von Fehlverhalten kann keine Rede sein... Bis dann, Henrik -- Word Dokumente? Nein danke! - http://www.subotnik.net/misc/doc.html -- Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)