Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/cleartmp
| Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | cleartmp_start() | ||||
| fi | fi | ||||
| if checkyesno clear_tmp_X; then | if checkyesno clear_tmp_X; then | ||||
| # Create X related directories with proper permissions. | # Create X related directories with proper permissions. | ||||
| mkdir -m 1777 ${x11_socket_dirs} | mkdir -m 1777 ${x11_socket_dirs} | ||||
| fi | fi | ||||
| } | } | ||||
| load_rc_config $name | load_rc_config $name | ||||
| # doesn't make sense to run in a svcj | |||||
| cleartmp_svcj="NO" | |||||
| run_rc_command "$1" | run_rc_command "$1" | ||||