Project

General

Profile

Actions

Feature #22

open

rc-скрипт для FreeBSD

Added by Maxim Mamontov over 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Start date:
05/31/2015
Due date:
% Done:

0%

Estimated time:

Description

Добавить в репозиторий rc-скрипт для FreeBSD:


#!/bin/sh

stg_enable=${stg_enable-"NO"}

. /etc/rc.subr
name="stg" 
rcvar=`set_rcvar`
command="/usr/sbin/stargazer" 

load_rc_config $name
run_rc_command "$1" 

файл зделать исполняемым chmod 755 stg.sh
в файле /etc/rc.conf добовляем stg_enable="YES"

Source: ​http://local.com.ua/forum/topic/2018-faq/page__view__findpost__p__251290

Actions #1

Updated by Maxim Mamontov about 9 years ago

  • Tracker changed from Bug to Feature
Actions

Also available in: Atom PDF