Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 990 - typo in /etc/init.d/localmount
Summary: typo in /etc/init.d/localmount
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-06 17:34 UTC by Silvio Boehme
Modified: 2002-03-10 16:23 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 Silvio Boehme 2002-03-06 17:34:01 UTC
The last 
modprobe usbcore >/dev/null 2>1
should be
modprobe usbcore >/dev/null 2>&1
because it creates a file "1" in my / directory.


	# Mount local filesystems in /etc/fstab.
	ebegin "Mounting local filesystems"
	mount -at nocoda,nonfs,noproc,noncpfs,nosmbfs,noshm >/dev/null 2>&1
	eend $?
	if [ -z "`grep usbdevfs /proc/filesystems`" ]
	then
		# >/dev/null to hide errors from non-USB users
		modprobe usbcore >/dev/null 2>1
Comment 1 Silvio Boehme 2002-03-07 02:10:31 UTC
The same typo is in (missing & character)
/etc/init.d/netmount
  ....
  /bin/fuser -k -m $sig $remaining >/dev/null 2>1
  ....

an in
/etc/init.d/net.eth0
  ....
  /sbin/ifconfig "${IFACE}:${num}" down >/dev/null 2>1
  ....

Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-03-10 16:23:01 UTC
Fixed on CVS, should be in baselayout-1.7.4.