cvs commit: LFS/bootscripts/blfs/init.d gdm

nathan at linuxfromscratch.org nathan at linuxfromscratch.org
Sat Mar 27 21:44:45 PST 2004


nathan      04/03/27 22:44:45

  Modified:    bootscripts CHANGELOG
               bootscripts/blfs/init.d gdm
  Log:
  changed gdm's path, as it could be installed to /usr, or /opt/gnome-2.4
  
  Revision  Changes    Path
  1.47      +5 -0      LFS/bootscripts/CHANGELOG
  
  Index: CHANGELOG
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/CHANGELOG,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -r1.46 -r1.47
  --- CHANGELOG	26 Mar 2004 21:09:58 -0000	1.46
  +++ CHANGELOG	28 Mar 2004 05:44:45 -0000	1.47
  @@ -1,3 +1,8 @@
  +n/a - March 27, 2004
  +
  +	* Changed gdm path from hardcoded to program name.  There are 2 spots
  +	  gnome can be installed
  +
   n/a - March 26, 2004
   
   	* Updated fam daemon script.  It now uses the famd daemon instead of fam
  
  
  
  1.2       +6 -4      LFS/bootscripts/blfs/init.d/gdm
  
  Index: gdm
  ===================================================================
  RCS file: /home/cvsroot/LFS/bootscripts/blfs/init.d/gdm,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- gdm	20 Mar 2004 00:10:22 -0000	1.1
  +++ gdm	28 Mar 2004 05:44:45 -0000	1.2
  @@ -7,27 +7,29 @@
   . /etc/sysconfig/rc
   . $rc_functions
   
  +export PATH=$PATH:/opt/gnome-2.4/bin:/opt/gnome-2.4/sbin
  +
   case "$1" in
   	start)
   		echo "Starting GDM..."
  -		loadproc /opt/gnome-2.4/bin/gdm
  +		loadproc gdm
   		;;
   
   	stop)
   		echo "Stopping GDM..."
   		if [ -f /var/run/gdm.pid ]; then
  -			loadproc /opt/gnome-2.4/sbin/gdm-stop
  +			loadproc gdm-stop
   		fi
   		;;
   
   	reload)
   		echo "Reloading GDM..."
  -		reloadproc /opt/gnome-2.4/sbin/gdm-safe-restart
  +		reloadproc gdm-safe-restart
   		;;
   
   	restart)
   		echo "Restarting GDM..."
  -		loadproc /opt/gnome-2.4/sbin/gdm-restart
  +		loadproc gdm-restart
   		;;
   
   	*)
  
  
  



More information about the lfs-book mailing list