FreeBSD Bugzilla – Attachment 10145 Details for
Bug 20458
Add startup shell script to sysutils/idled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.08 KB, created by
howardjp
on 2000-08-07 18:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
howardjp
Created:
2000-08-07 18:20:00 UTC
Size:
1.08 KB
patch
obsolete
>diff -Nru idled.old/Makefile idled/Makefile >--- idled.old/Makefile Mon Aug 7 13:00:05 2000 >+++ idled/Makefile Mon Aug 7 13:06:41 2000 >@@ -23,5 +23,9 @@ > > post-install: > strip ${PREFIX}/libexec/idled >+ @if [ ! -f ${PREFIX}/etc/rc.d/idled.sh ]; then \ >+ ${ECHO} "Installing ${PREFIX}/etc/rc.d/idled.sh startup file."; \ >+ ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/idled.sh ${PREFIX}/etc/rc.d/idled.sh; \ >+ fi > > .include <bsd.port.mk> >diff -Nru idled.old/files/idled.sh idled/files/idled.sh >--- idled.old/files/idled.sh Wed Dec 31 19:00:00 1969 >+++ idled/files/idled.sh Mon Aug 7 13:00:44 2000 >@@ -0,0 +1,27 @@ >+#!/bin/sh >+case "$1" in >+ start) >+ /usr/local/libexec/idled >+ echo -n ' idled' >+ ;; >+ stop) >+ if [ -f /var/run/sshd.pid ]; then >+ kill -TERM `cat /var/run/sshd.pid` >+ rm -f /var/run/sshd.pid >+ echo -n ' sshd' >+ fi >+ ;; >+ restart) >+ if [ -f /var/run/sshd.pid ]; then >+ kill -HUP `cat /var/run/sshd.pid` >+ echo 'sshd restarted' >+ fi >+ ;; >+ -h) >+ echo "Usage: `basename $0` { start | stop | restart }" >+ ;; >+ *) >+ /usr/local/libexec/idled >+ echo -n ' idled' >+ ;; >+esac
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 20458
: 10145