[plug] rc.local

Brad Campbell brad at wasp.net.au
Thu Aug 26 16:19:07 WST 2004


Marc Wiriadisastra wrote:
> Hey Guys,
> 
> Simple question but whats the equivalent of rc.local in debian.  What I 
> mean by that is if I wanna start programs on start up where would I put 
> them in debian.
> 
> Its hypothetical but I'm just curious.

/etc/rcS.d

Or I always create /etc/init.d/bkmisc and then
ln -s /etc/init.d/bkmisc /etc/rc2.d/S99bkmisc

My /etc/init.d/bkmisc at the moment on my laptop

bklaptop:~>cat /etc/init.d/bkcmisc
#!/bin/sh
echo Zeroing Suspend Count
echo 0 > /home/brad/.suscount
echo 0 > /home/brad/.suslock
echo ':WIN32:M::MZ::/usr/local/programs/wine:' > /proc/sys/fs/binfmt_misc/register
echo 1024 > /proc/sys/dev/rtc/max-user-freq

#Work around setting for OZ6933 chipset
/usr/bin/logger -s "Setting Latency and Undocumented burst transfer on OZ6399"
/bin/setpci -s 02:09.0 LATENCY_TIMER=40
/bin/setpci -s 02:09.1 LATENCY_TIMER=40
/usr/bin/X11/pcitweak -w 02:09:0 -b 0x94 0xea

Regards,
Brad



More information about the plug mailing list