-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Todd A. Jacobs wrote:
> It turns out that this is caused by moving a shell script (with a .sh
> extension) into the run-parts directory. Run-parts won't run filenames
> with dots in them. If this is documented clearly anywhere, I couldn't
> find it, bu
On Mon, Dec 31, 2007 at 11:58:28AM -0800, Todd A. Jacobs wrote:
> It turns out that this is caused by moving a shell script (with a .sh
> extension) into the run-parts directory. Run-parts won't run filenames
> with dots in them. If this is documented clearly anywhere, I couldn't
> find it, but rem
It turns out that this is caused by moving a shell script (with a .sh
extension) into the run-parts directory. Run-parts won't run filenames
with dots in them. If this is documented clearly anywhere, I couldn't
find it, but removing the filename extensions fixed the problem.
--
"Oh, look: rocks!"
On Mon, 30 Jun 2003 19:09:39 -0500, David <[EMAIL PROTECTED]> said:
>>
>> > Is this a bug or something about my particular system?
>> > Apparently the maintainer of the kernel-patch package expected it
>> > to work, because the name of the file to be run was
>> > debian-2.4.21.
>>
>> If there is
Hi, David!
* David <[EMAIL PROTECTED]> [2003-07-01 16:09]:
> [EMAIL PROTECTED]:~$ ls -l /usr/src/kernel-patches/all/apply/
> total 4
> lrwxrwxrwx1 dlb dlb13 Jun 28 20:40 debian-2-4-21 ->
> debian-2.4.21*
> -rwxrwxr-x1 root src 689 Jun 28 08:36 debian-2.4.21*
On Monday 30 June 2003 12:17 am, Mika Fischer wrote:
> * David <[EMAIL PROTECTED]> [2003-06-30 06:45]:
> > After running various tests - even editing a copy of the file to where
> > it only contained "#!/bin/bash" I finally renamed the file substituting
> > a dash for each dot and bingo! it worke
Hi, David!
* David <[EMAIL PROTECTED]> [2003-06-30 06:45]:
> After running various tests - even editing a copy of the file to where
> it only contained "#!/bin/bash" I finally renamed the file substituting
> a dash for each dot and bingo! it worked..
>
> It seems that run-parts (at least mine (v
On Mon, 30 Dec 2002 15:21:18 -0500
Derrick 'dman' Hudson <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 30, 2002 at 01:11:01PM -0600, Russ Cook wrote:
> | On Mon, 30 Dec 2002, Jamin W. Collins wrote:
> | > On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote:
> | >
> | > Why not use a dynamic DNS s
On Mon, Dec 30, 2002 at 01:11:01PM -0600, Russ Cook wrote:
| On Mon, 30 Dec 2002, Jamin W. Collins wrote:
| > On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote:
| >
| > > I named the script mail_ppp. It's purpose is to email
| > > my dynamic address to a specific email address after
| > >
Russ Cook wites:
> I named the script mail_ppp. It's purpose is to email my dynamic address
> to a specific email address after dial up, so I can access my network
> from remote locations.
Is the first line '#!/bin/sh' ?
Post the script.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing H
Thanks Brian. I'll keep this for reference. BTW, the
script /etc/ppp/ip-up exports the dynamic address as
PPP_LOCAL. Should I not be able to use that in my
script?
export PPP_IFACE PPP_TTY PPP_SPEED PPP_LOCAL PPP_REMOTE PPP_IPPARAM
Thanks again,
Russ
On 30 Dec 2002, Brian P. Flaherty wrote:
I knew nothing about such a service.
On Mon, 30 Dec 2002, Jamin W. Collins wrote:
> On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote:
>
> > I named the script mail_ppp. It's purpose is to email
> > my dynamic address to a specific email address after
> > dial up, so I can access my netw
Thanks, I didn't know that.
I renamed the file, and it fixed
my problem. Thanks again.
On Mon, 30 Dec 2002, Colin Watson wrote:
> [Please don't cc me on replies.]
>
> On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote:
> > I named the script mail_ppp.
>
> At least newer versions of run-pa
Russ Cook <[EMAIL PROTECTED]> writes:
> I named the script mail_ppp. It's purpose is to email
> my dynamic address to a specific email address after
> dial up, so I can access my network from remote locations.
I did this with the following script. The IP address part may be
ugly, but it works.
[Please don't cc me on replies.]
On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote:
> I named the script mail_ppp.
At least newer versions of run-parts only allow underscores in the
so-called "hierarchical namespace" (i.e. "[hier1]-[hier2]-...-[name]"),
citing the Linux Standards Base spe
On Mon, Dec 30, 2002 at 12:51:33PM -0600, Russ Cook wrote:
> I named the script mail_ppp. It's purpose is to email
> my dynamic address to a specific email address after
> dial up, so I can access my network from remote locations.
Why not use a dynamic DNS service, such as DynDNS.org?
--
Jamin
I named the script mail_ppp. It's purpose is to email
my dynamic address to a specific email address after
dial up, so I can access my network from remote locations.
On Mon, 30 Dec 2002, Colin Watson wrote:
> On Mon, Dec 30, 2002 at 12:18:41PM -0600, Russ Cook wrote:
> > Please help. I have mad
On Mon, Dec 30, 2002 at 12:18:41PM -0600, Russ Cook wrote:
> Please help. I have made an executable script to be run when my ppp link
> comes up. I placed this script in the directory /etc/ppp/ip-up.d and
> gave it the same owner and flags as the other scripts in that directory.
> However, the sc
Aaron Hall wrote:
> So, having done that, I'm curious: why does run-parts have such a narrow
> view of a "valid filename". It's there for a reason, else why write the
> validation code?
Because it's very bad to have it run files like:
foo.dpkg-old
foo.dpkg-new
foo~
.foo.swp
All of which may easi
>
> So, having done that, I'm curious: why does run-parts have such a narrow
> view of a "valid filename". It's there for a reason, else why write the
> validation code?
>
> I'm just curious, but it would be nice to know.
>
my guess is that Debian calls the directories to be run by run-parts fo
> 1. is there an undocumented flag in run-parts, which I can use for this
>purpose?
I don't thing so
> 2. is there an easy way to get messages from shell and perl scripts into
>the syslog?
man logger
NAME
logger - make entries in the system log
SYNOPSIS
logger [-is] [-f fil
21 matches
Mail list logo