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 2008-09-19 23:56:01

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Is There An AFTER Command for ffp Scripts ?

I've written a script that needs to load after samba.sh. I'm aware of # PROVIDES:, # BEFORE: and # REQUIRES:.  Would adding "#REQUIRES: samba" to my printer redirection script ensure the samba script runs prior to my script running?

Last edited by rcblackwell (2008-09-19 23:56:28)


Bob Blackwell
Pickering, ON

Offline

 

#2 2008-09-20 12:24:39

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

Re: Is There An AFTER Command for ffp Scripts ?

rcblackwell wrote:

Would adding "#REQUIRES: samba" to my printer redirection script ensure the samba script runs prior to my script running?

Code:

# REQUIRE: samba

Yes, that would run after samba. You can always check the order in which scripts are run at startup with:

Code:

rcorder /ffp/start/*.sh

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB