PlugPBX Forums
May 19, 2012, 03:49:13 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4]
  Print  
Author Topic: Read/Write Hybrid Solution - Testers / Help Needed!  (Read 8485 times)
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #45 on: July 23, 2010, 06:40:45 PM »

indeed please do!

I looked at using JFFS, and other variants, and other ideas, but Flashybrid appealed to me being quick, efficient and easily hackable. But yah, I'd love to see what you find out with unionfs, as it works great for livecd type applications. Experiment away and post your thoughts / results!
Logged

-Greg
PlugPBX Admin
Administrator
Sr. Member
*****
Posts: 426



« Reply #46 on: July 23, 2010, 06:52:40 PM »

Well lookie see this - credit goes to bnms over on the PlugComputer forums Wink

http://plugcomputer.org/plugforum/index.php?topic=1074.msg11987#msg11987

Quote
I use Debian Squeeze on an SD card. I changed the /etc/init.d/flashybrid script to read:

Code:
Code:
### BEGIN INIT INFO
# Provides:          flashybrid
# Required-Start:    $local_fs
# Required-Stop:     $local_fs
# Should-Start:      $local_fs
# Should-Stop:       $local_fs
# X-Start-Before:    $network
# X-Stop-After:      $network
# Default-Start:     S
# Default-Stop:      0 6

Thus, the script should be started before networking starts. Then, I removed all the existing links in the other run levels and let insserv recalculate the dependencies:

Code:

Code:
cd /etc
rm rc{0,1,2,3,4,5,6}.d/*flashybrid
insserv -v flashybrid

Now, my /etc/rcS.d directory contains:

Code:

...
S14flashybrid
S14procps
S14udev-mtab
S14urandom
S15ifupdown
S16networking
...


Which is where I wanted it to be

Looks good. So that goes into the next disk image version of PlugPBX.

Whoever maintains the debian Flashybrid repository should apply that to the scripts checked into apt for sure.... Would make it much better working out of box for most systems.
Logged

-Greg
Pages: 1 2 3 [4]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Install SimpleMachinesForum web hosting Valid XHTML 1.0! Valid CSS!