ADDED cleanvar.init Index: cleanvar.init ================================================================== --- /dev/null +++ cleanvar.init @@ -0,0 +1,9 @@ +# vim:ft=make: + +CLEANVAR_DIRS?=/var/run /var/spool/lock /var/spool/uucp/.Temp + +cleanvar: mount +.for dir in ${CLEANVAR_DIRS} + find ${dir} -mindepth 1 -delete +.endfor + install -m644 /dev/null /var/run/utmpx Index: mrc.conf ================================================================== --- mrc.conf +++ mrc.conf @@ -1,7 +1,10 @@ # vim:ft=make: +# cleanvar +# CLEANVAR_DIRS=/var/run /var/spool/lock /var/spool/uucp/.Temp + # random # ENTROPY_FILE=/var/db/entropy/random # ENTROPY_DIR=/var/db/entropy # hostname @@ -14,6 +17,6 @@ # kld # KLD_LIST=### ### ### # wlans # WLANS_###=wlan# -# WLANS_wlan#_ARGS=ssid FreeWifi +# WLANS_wlan#_ARGS=### ###