From f0d9f58b7f1825fb95236f427a6400ad54ad4b5e Mon Sep 17 00:00:00 2001 From: dougb Date: Sun, 5 Aug 2012 23:19:36 +0000 Subject: Move the rc.d scripts of the form *.sh.in to *.in Where necessary add $FreeBSD$ to the file No PORTREVISION bump necessary because this is a no-op --- print/acroreadwrapper/Makefile | 2 +- print/acroreadwrapper/files/linux_adobe.in | 26 ++++++++++++++++++++++++++ print/acroreadwrapper/files/linux_adobe.sh.in | 26 -------------------------- 3 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 print/acroreadwrapper/files/linux_adobe.in delete mode 100644 print/acroreadwrapper/files/linux_adobe.sh.in (limited to 'print') diff --git a/print/acroreadwrapper/Makefile b/print/acroreadwrapper/Makefile index 5fa6339717a3..7157dc7e88fa 100644 --- a/print/acroreadwrapper/Makefile +++ b/print/acroreadwrapper/Makefile @@ -29,7 +29,7 @@ SUB_LIST= ACROBASE8=${ACROBASE8} \ LINUXSH=${LINUXBASE}/bin/sh \ PLUGINDIR=${PLUGINDIR} \ KMODDIR=${KMODDIR} -USE_RC_SUBR= linux_adobe.sh +USE_RC_SUBR= linux_adobe .include diff --git a/print/acroreadwrapper/files/linux_adobe.in b/print/acroreadwrapper/files/linux_adobe.in new file mode 100644 index 000000000000..c25abc45d281 --- /dev/null +++ b/print/acroreadwrapper/files/linux_adobe.in @@ -0,0 +1,26 @@ +#!/bin/sh +# $FreeBSD$ + +# PROVIDE: linux_adobe +# REQUIRE: LOGIN abi +# KEYWORD: nojail + +. /etc/rc.subr + +name="linux_adobe" +rcvar=linux_adobe_enable +start_cmd="linux_adobe_start" +stop_cmd="linux_adobe_stop" + +linux_adobe_start() +{ + load_kld %%PREFIX%%/%%KMODDIR%%/linux_adobe.ko +} +linux_adobe_stop() +{ + /sbin/kldunload linux_adobe +} + +: ${linux_adobe_enable="YES"} +load_rc_config $name +run_rc_command "$1" diff --git a/print/acroreadwrapper/files/linux_adobe.sh.in b/print/acroreadwrapper/files/linux_adobe.sh.in deleted file mode 100644 index c25abc45d281..000000000000 --- a/print/acroreadwrapper/files/linux_adobe.sh.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -# PROVIDE: linux_adobe -# REQUIRE: LOGIN abi -# KEYWORD: nojail - -. /etc/rc.subr - -name="linux_adobe" -rcvar=linux_adobe_enable -start_cmd="linux_adobe_start" -stop_cmd="linux_adobe_stop" - -linux_adobe_start() -{ - load_kld %%PREFIX%%/%%KMODDIR%%/linux_adobe.ko -} -linux_adobe_stop() -{ - /sbin/kldunload linux_adobe -} - -: ${linux_adobe_enable="YES"} -load_rc_config $name -run_rc_command "$1" -- cgit