1#!/bin/sh 2#
| 1#!/bin/sh 2#
|
3# $FreeBSD: head/etc/rc.d/cleartmp 212222 2010-09-05 05:44:40Z daichi $
| 3# $FreeBSD: head/etc/rc.d/cleartmp 230099 2012-01-14 02:18:41Z dougb $
|
4# 5 6# PROVIDE: cleartmp 7# REQUIRE: mountcritremote tmp 8# BEFORE: DAEMON 9 10. /etc/rc.subr 11 12name="cleartmp" 13# Disguise rcvar for the start method to run irrespective of its setting.
| 4# 5 6# PROVIDE: cleartmp 7# REQUIRE: mountcritremote tmp 8# BEFORE: DAEMON 9 10. /etc/rc.subr 11 12name="cleartmp" 13# Disguise rcvar for the start method to run irrespective of its setting.
|
14rcvar1=`set_rcvar clear_tmp`
| 14rcvar1="clear_tmp_enable"
|
15start_cmd="${name}_start" 16stop_cmd=":" 17 18cleartmp_start() 19{ 20 # Make /tmp location variable for easier debugging. 21 local tmp="/tmp" 22
--- 38 unchanged lines hidden --- | 15start_cmd="${name}_start" 16stop_cmd=":" 17 18cleartmp_start() 19{ 20 # Make /tmp location variable for easier debugging. 21 local tmp="/tmp" 22
--- 38 unchanged lines hidden --- |