pallfreeman
Dabbler
- Joined
- Sep 1, 2011
- Messages
- 38
I'm using RC1. For my app "something", I'm used to doing:
something_enable="YES"
in /etc/rc.conf and putting my start/stop script into /usr/local/etc/rc.d/something.
I can "onestart" my app OK, but the boot-time settings seem volatile -- they don't survive a reboot.
I've already stumbled across /conf/base/etc/fstab and added an entry to mount my vanilla-UFS extra drive, and I'm guessing I can add my something_enable to /conf/base/etc/rc.conf, but how do I add to /usr/local/etc/rc.d?
How can I make my app start at boot, please?
something_enable="YES"
in /etc/rc.conf and putting my start/stop script into /usr/local/etc/rc.d/something.
I can "onestart" my app OK, but the boot-time settings seem volatile -- they don't survive a reboot.
I've already stumbled across /conf/base/etc/fstab and added an entry to mount my vanilla-UFS extra drive, and I'm guessing I can add my something_enable to /conf/base/etc/rc.conf, but how do I add to /usr/local/etc/rc.d?
How can I make my app start at boot, please?