Hi,
On Fri, 1 Jan 1999, Steve Crane wrote:
> However I want it to start automatically and am not sure which script
> I should run the file from. I saw a post on Usenet that said the font
> server run command should be added to the /etc/rc.d/rc.local file.
> The post said this would work on RH and Slackware. Not finding an
> rc.local file in /etc/rc.d I created it.
The S.u.S.E. init stuff in in /sbin/init.d, so if you want a rc.local
equiv use /sbin/init.d/boot.local.
> I then added a new font path to XF86Config with
>
> FontPath "unix/:7100"
>
> When I ran startx (after a restart as my kids had been in Win98 in the
> meantime) it failed with an invalid font path. I ran xfstt& manually
> and startx worked, so clearly the rc.local file did not work.
>
> Where should I have added the run commands? I want to add the
> following.
>
> # TrueType font installation
> /usr/X11R6/bin/xfstt --sync
> /usr/X11R6/bin/xfstt &
> # End of TrueType font installation
>
> Thanks.
The way I did it was I created a script 'xfstt' in /sbin/init.d and then
used rctab to add the script to those that run at run time. For me this
way was easiest. The script is really a basic 'case' statement like
most of the init scripts. The rctab just adds it to the runlevels of your
choice. If you decide to do things this way as opposed to using
/sbin/init.d/random or /sbin/init.d/boot.local and don't know how the
script should look or whatever lemme know and I can send you the script
and simple instructions on how I run it on my machine. Hope this helps.
Bye,
-M
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html