DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-07-05 08:56:47

hyde
Member
Registered: 2006-10-23
Posts: 15

fun_plug stopped executing

What would cause fun_plug to stop executing?
The permissions are set correctly, but it's like the startup routines aren't checking for it anymore.

Unfortunately, I have no idea what I did that might have precipitated this.
And maybe the cause is irrelevant if I can just get it working again.

Much thanks for any ideas.

Offline

 

#2 2007-07-05 10:20:26

SystemR89
Member
From: >>Turin<< >>Italy<<
Registered: 2006-09-19
Posts: 88

Re: fun_plug stopped executing

please post your fun_plug here!


Free is BETTER!!
Use GNU/Linux!!

Offline

 

#3 2007-07-05 15:29:12

hyde
Member
Registered: 2006-10-23
Posts: 15

Re: fun_plug stopped executing

777...

Code:

ftp> pwd
257 "/HD_a2" is current directory.
ftp> ls
-rwxrwxrwx   1 root root       55 Jul  5 07:04 fun_plug

here's my fun_plug, reduced to basic testing...

Code:

#!/bin/sh

echo "i am alive" > /mnt/HD_a2/alive.log

no alive.log is created (nor is it appended if i pre-create the file.)
like i said: seems like fun_plug doesn't get called.

Last edited by hyde (2007-07-05 22:05:15)

Offline

 

#4 2007-07-05 23:33:24

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: fun_plug stopped executing

Why is it "/HD_a2" in ftp and "/mnt/HD_a2" in your script?

Offline

 

#5 2007-07-06 03:25:15

hyde
Member
Registered: 2006-10-23
Posts: 15

Re: fun_plug stopped executing

Because that's the dir I was in when I issued the pwd cmd in the ftp session...

The script reflects the absolute path to fun_plug. But I could just as easily echo that line to "./whatever.log" and it won't work either.

Believe me, I've already screwed around with all the obvious (and not-so-obvious) things.

Does anyone know how to actually fix this??

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB