Date: Mon, 15 Mar 2004 05:52:29 +0100 (CET) From: robert@martin-legene.dk To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64279: New port: sysutils/autostart Message-ID: <200403150452.i2F4qTrA076568@kb.pinguino.dk> Resent-Message-ID: <200403150500.i2F50Xa2060525@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64279 >Category: ports >Synopsis: New port: sysutils/autostart >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Mar 14 21:00:32 PST 2004 >Closed-Date: >Last-Modified: >Originator: Robert Martin-Legene >Release: FreeBSD 4.2-RELEASE i386 >Organization: >Environment: Confirmed working on 4.2-RELEASE and 4.9-RELEASE. >Description: New port: sysutils/autostart Autostart will automatically launch user programs (usually a script owned by the user) after the machine has booted. >How-To-Repeat: cd /usr/ports/sysutils/autostart make install clean vi .autostart.`whoami`@`hostname` chmod 744 !$ su root -c reboot >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # autostart # autostart/Makefile # autostart/pkg-descr # autostart/pkg-plist # autostart/distinfo # echo c - autostart mkdir -p autostart > /dev/null 2>&1 echo x - autostart/Makefile sed 's/^X//' >autostart/Makefile << 'END-of-autostart/Makefile' X# New ports collection makefile for: autostart X# Date created: 15 Mar 2004 X# Whom: Robert Martin-Legene <robert@martin-legene.dk> X# X# $FreeBSD$ X# X XPORTNAME= autostart XPORTVERSION= 1.02 XCATEGORIES= sysutils XMASTER_SITES= http://robert.martin-legene.dk/ports/distfiles/ X XMAINTAINER= robert@martin-legene.dk XCOMMENT= Automatically launch user programs after machine has booted X XMAN8= autostart.8 XMANCOMPRESSED= yes X X.include <bsd.port.mk> END-of-autostart/Makefile echo x - autostart/pkg-descr sed 's/^X//' >autostart/pkg-descr << 'END-of-autostart/pkg-descr' XAfter a machine has booted, users home directories are checked Xfor an autostart file. If such exists and the permissions Xlooks safe, the file will be executed. X XThis will hinder users having to make crontabs that runs once Xevery 15 minutes / 1 hours or whatever their preference might Xbe, to ensure that their applications are running even after Xa system boot. X X- robert@martin-legene.dk END-of-autostart/pkg-descr echo x - autostart/pkg-plist sed 's/^X//' >autostart/pkg-plist << 'END-of-autostart/pkg-plist' Xsbin/autostart Xetc/rc.d/autostart.sh END-of-autostart/pkg-plist echo x - autostart/distinfo sed 's/^X//' >autostart/distinfo << 'END-of-autostart/distinfo' XMD5 (autostart-1.02.tar.gz) = 9c8b228fe1a59e58769b2ffc80a56b07 END-of-autostart/distinfo exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403150452.i2F4qTrA076568>