by slycat » Tue May 24, 2011 5:52 am
Don't thank me. WarheadsSE is the brains behind most of the oxnas support as well as the rest of the Dev team here. I'm no Dev, just a tech nerd.
$this->bbcode_second_pass_quote('syntaxing', 'W')hich file should I add these line to in order to make the lights stop blinking every time it boots?
Since I had to do a series of reboots earlier today (problems with udevd and hd-idle), before my last boot I edited my rc.local to look like this:
$this->bbcode_second_pass_code('', 'nano /etc/rc.local')
$this->bbcode_second_pass_code('', '#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
insmod /lib/modules/2.6.31.6_SMP_820/kernel/xce.ko
rmmod /lib/modules/2.6.31.6_SMP_820/kernel/xce.ko
bash proled green')
This file is read as a start-up script AFTER all other system commands and daemons (like fstab mounting and daemons added to the rc.conf file) have been done. I did this so once the light becomes solid green I know all the things I have set to start automatically are complete.
Also depending on the usb drive, I assume, after a reboot you may have to wait at least a minute or two before it will allow a connection from sshd. So if you're light is blinking, don't fret. Give it a minute (i timed mine to be 105s or so) before you can ssh in.