Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6645 - setiathome init script bug
Summary: setiathome init script bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-17 13:05 UTC by burzmali
Modified: 2002-08-18 22:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description burzmali 2002-08-17 13:05:57 UTC
in the setiathome /etc/init.d/ script there is a bug that prevents it from 
running  
correctly for the first time.  
checkconfig() {  
	if [ ! -e ${SETIATHOME_DIR} ]  
	then  
		einfo "Creating ${SETIATHOME_DIR}"  
		mkdir ${SETIATHOME_DIR}  
	fi  
  
	if [ ! -e ${SETIATHOME_DIR}/user_info.sah ]  
	then  
		einfo "Setting up SETI@home for the first time"  
		cd ${SETIATHOME_DIR}  
		setiathome -login  
	fi  
}  
  
should be:  
checkconfig() {  
	if [ ! -e ${SETIATHOME_DIR} ]  
	then  
		einfo "Creating ${SETIATHOME_DIR}"  
		mkdir ${SETIATHOME_DIR}  
	fi  
  
	if [ ! -e ${SETIATHOME_DIR}/user_info.sah ]  
	then  
		einfo "Setting up SETI@home for the first time"  
		cd ${SETIATHOME_DIR}  
		./setiathome -login  
	fi  
}  
  
notice the './' before 'setiathome -login'  
  
that is all, pretty minor, but worth fixing i guess.  
(and yes, i know it is masked)
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-08-18 22:16:34 UTC
thx... committed