#!/bin/sh # # GWARE example rc.local # # DO NOT BLINDLY OVERWRITE YOUR RC.LOCAL WITH THIS FILE. # EDIT YOUR RC.LOCAL IF THESE ENTRIES DO NOT ALLREADY EXIST # IN YOUR RC.LOCAL # # This example file shows you the entries that need to be in your # rc.local after installing GWARE. # # Of particular notice is the fact that you need to know # what is in your rc.local and DO NOT OVERWRITE IT BLINDLY WITH THIS FILE. # # This shows only the entries needed by GWARE to start some init scripts # that come with a few of our packages such as... # # 1) dbus (rc.messagebus) # 2) hal (rc.hald) # 3) howl (rc.howl) # # One thing you need to make SURE of is the order of these entries # as far as DBUS and HAL are concerned. # # DBUS HAS TO BE CALLED BEFORE HAL OR HALD WILL FAIL TO RUN IT'S DAEMON! # # We will put an example here that you can just copy and paste into your rc.local # however doubtful you will need them as the GWARE packages should have inserted these entries into # your existing rc.local. # # NOTE: We changed from rc.dbus to rc.messagebus to follow the information we # found in the SOURCE of dbus. We changed the name of the init script because # the source itself had a file named rc.messagebus ready to go.... # well it needed editing to actually work on slackware :) # If you had previously installed one of our early dbus packages # you will have a file leftover -> /etc/rc.d/rc.dbus # # You need to check and make sure you have the latest GWARE DBUS package. # If you do not then upgrade to the newest DBUS package then # -> /etc/rc.d/rc.dbus <- REMOVE THE FILE MANUALLY. # # You should now see /etc/rc.d/rc.messagebus instead of rc.dbus. # Please make sure that you delete the entry in your rc.local that calls dbus. # Then make sure the entries in your rc.local are as follows and shown in this example. # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local setup commands in here: # DBUS needs to load before hal # if [ -x /etc/rc.d/rc.messagebus ]; then if [ -w /var/run/dbus/dbus.pid ]; then rm /var/run/dbus/dbus.pid fi sh /etc/rc.d/rc.messagebus start fi # HAL will load fine now thats DBUS is running... # if [ -x /etc/rc.d/rc.hald ]; then sh /etc/rc.d/rc.hald start fi # Howl is another package that GWARE inserts/requires an entry # if [ -x /etc/rc.d/rc.howl ]; then sh /etc/rc.d/rc.howl start fi