PDA

Bekijk de volledige versie : post-mount will not execute



ChristianDam
06-04-2007, 08:47
Hi

I have a small problem, I can not seem to get my WL500gP to execute my post-mount file.

I have just update to Oleg's firmware version 1.9.2.7-7f, and afterwards installed Twonkyvision in order to get the accesspoint to work as a Media server for my NOXON2AUDIO. That is all working fine, but I have to start Twonkyviosion manully, since my post-mpunt file will not run.

My post-mount file look like this:

[admin@WL500GP root]$ cat /usr/local/sbin/post-mount

mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/part1 /mnt

/mnt/opt/twonkyvision/init.sh

Can anyone please help me.

Christian

diody
06-04-2007, 20:27
You have to add to the post-boot file.

Oleg
06-04-2007, 20:45
post-mount should start with #!/bin/sh
You should set an executables flag (chmod +x ...)

ChristianDam
07-04-2007, 11:43
Thank you very much Oleg. Now is it working

Christian