Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 4151 | Differences between
and this patch

Collapse All | Expand All

(-)/etc/init.d/functions.sh (+14 lines)
Lines 14-19 Link Here
14
#size of $svcdir in KB
14
#size of $svcdir in KB
15
svcsize=1024
15
svcsize=1024
16
16
17
#Temporary Memory FileSystem mount point for diskless nodes
18
shmdir=/mnt/.shm
19
17
#different types of dependancies
20
#different types of dependancies
18
deptypes="need use"
21
deptypes="need use"
19
22
Lines 256-260 Link Here
256
	fi
259
	fi
257
}
260
}
258
261
262
#
263
# int checkserver(void)
264
#
265
#    Return 0 (no error) if this script is executed 
266
#    onto the server, one otherwise.
267
#    See the boot section of /sbin/rc for more details.
268
# 
269
checkserver() {
270
	[ `cat ${svcdir}/hostname` == "(none)" ] || return 1
271
	return 0
272
}
259
273
260
# vim:ts=4
274
# vim:ts=4

Return to bug 4151