Right now I am starting this application by putting following command at /etc/rc.local.
----
touch /var/lock/subsys/local
#chmod 0666 /dev/dsp
su -l netphilic -c "/usr/bin/freevo -fs
----
The freevo application starts however there are few issues
1). Lots of other daemon starts as well, need to remove unwanted daemon so that system comes ups faster. My run level is.
id:3:initdefault:
# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit
l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6
Please suggest me, what I can remove.
[-mce .freevo]$ ls /etc/rc.d/rc3.d/
K01NetworkManager K87multipathd S26rsyslog
K01smartd K88nasd S26udev-post
K02NetworkManagerDispatcher K89dund S27auditd
K05saslauthd K89netplugd S27messagebus
K10dc_server K89pand S27setroubleshoot
K10psacct K89rdisc S28autofs
K12dc_client K91capi S44acpid
K15httpd kernel-2.6.24.5-85.fc8.src.rpm S50bluetooth
K20hddtemp S05kudzu S55sshd
K20nfs S06cpuspeed S58ntpd
K24irda S08ip6tables S80sendmail
K25squid S08iptables S85gpm
K35nmb S08nvidia S90ConsoleKit
K35smb S09isdn S90crond
K35vncserver S10network S90lirc
K50netconsole S12restorecond S90smolt
K50snmpd S13irqbalance S95atd
K50snmptrapd S13rpcbind S96avahi-daemon
K69rpcsvcgssd S14nfslock S97yum-updatesd
K71lirc S15mdmonitor S98cups
K72wpa_supplicant S18rpcidmapd S98haldaemon
K73winbind S19rpcgssd S99anacron
K73ypbind S25fuse S99firstboot
K74nscd S25netfs S99local
K84btseed S25pcscd S99local.sav
K84bttrack S26lm_sensors
[-mce .freevo]$
What is the best way to use fedora as appliance like the one I am doing with very less overhead and faster bootup ? I use that PC just for playing movie, music, photo etc using freevo.
The Grub doesn't stop longer, I set the timer to 0. So the most of the time is spend in loading kernel and starting all these daemons.
---/etc/grub.conf---
#boot=/dev/sda
default=0
#timeout=5
timeout=0
...
----
2).
I can't shutdown the system from the freevo. (freevo is running as netphilic, not as root).
So I added netphilic in sudoer list
----/etc/sudoers---
## power
Cmnd_Alias POWER = /usr/bin/poweroff, /sbin/shutdown, /sbin/halt
netphilic ALL=(ALL) NOPASSWD: POWER
----
Now when freevo tries to shut the system using poweroff. It get following error.
------
sudo: sorry, you must have a tty to run sudo
------
Thanks