Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 255201 Details for
Bug 346537
net-fs/autofs: 5.0.5-r1 rev bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
autofs5.initd
autofs5.initd (text/plain), 1.51 KB, created by
Dustin Polke
on 2010-11-23 16:30:50 UTC
(
hide
)
Description:
autofs5.initd
Filename:
MIME Type:
Creator:
Dustin Polke
Created:
2010-11-23 16:30:50 UTC
Size:
1.51 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >DAEMON=/usr/sbin/automount >PIDFILE=/var/run/autofs.pid >DEVICE=autofs > >depend() { > need localmount > use ypbind nfs slapd portmap net >} > >opts="start stop restart status reload" > >start() { > ebegin "Starting automounter" > > # Ensure autofs support is loaded > grep -q autofs /proc/filesystems || modprobe -q autofs4 > if [ $? -ne 0 ]; then > eend 1 "No autofs support available" > return 1 > fi > > # Check misc device > if [ -n "${USE_MISC_DEVICE}" -a "${USE_MISC_DEVICE}" = "yes" ]; then > sleep 1 > if [ -e "/proc/misc" ]; then > MINOR=$(awk "/${DEVICE}/ {print \$1}" /proc/misc) > [ -n "${MINOR}" -a ! -c "/dev/${DEVICE}" ] && \ > mknod -m 0600 "/dev/${DEVICE}" c 10 ${MINOR} > if [ $? -ne 0 ]; then > eend 1 "Could not create '/dev/${DEVICE}'" > return 1 > fi > fi > [ -x /sbin/restorecon -a -c "/dev/${DEVICE}" ] && \ > /sbin/restorecon "/dev/${DEVICE}" > if [ $? -ne 0 ]; then > eend 1 "Failed to execute '/sbin/restorecon \"/dev/${DEVICE}\"'" > return 1 > fi > else > [ -c "/dev/${DEVICE}" ] && rm -rf "/dev/${DEVICE}" > fi > > start-stop-daemon --start --exec ${DAEMON} -- -p ${PIDFILE} ${OPTIONS} > > eend $? >} > >stop() { > ebegin "Stopping automounter" > start-stop-daemon --stop --quiet -R TERM/45 -p ${PIDFILE} > eend $? >} > >reload() { > ebegin "Reloading automounter" > if [ ! -r "${PIDFILE}" ]; then > eend 1 "automount not running" > else > kill -HUP $(cat "${PIDFILE}") 2> /dev/null > eend $? > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 346537
:
255195
|
255197
|
255199
| 255201 |
255331
|
259771
|
259773
|
264703
|
264705
|
264707