Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37399940
en ru br
Репозитории ALT

Группа :: Система/Серверы
Пакет: open-isns

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: open-isns-0.101.patch
Скачать


 Makefile.in   | 2 +-
 isnsd.service | 5 ++---
 tests/genkey  | 6 +++---
 3 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index f001a87..60cf6bd 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -6,7 +6,7 @@ mandir	= @mandir@
 libdir  = @libdir@
 etcdir	= /etc
 vardir	= /var/lib/isns
-systemddir = $(prefix)/lib/systemd/system
+systemddir = /lib/systemd/system
 datarootdir = @datarootdir@
 includedir = @includedir@
 
diff --git a/isnsd.service b/isnsd.service
index 76eac6c..5bbc171 100644
--- a/isnsd.service
+++ b/isnsd.service
@@ -1,9 +1,8 @@
 [Unit]
 Description=iSNS daemon
 Before=iscsi.service iscsid.service
-After=syslog.target
-DefaultDependencies=no
-Conflicts=shutdown.target
+After=network.target
+
 
 [Service]
 Type=simple
diff --git a/tests/genkey b/tests/genkey
index c363ac3..2798807 100755
--- a/tests/genkey
+++ b/tests/genkey
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 # 
 # This is a very simple script to generate a DSA
 # key pair for authenticated iSNS.
@@ -25,7 +25,7 @@ dsa_bits=1024
 opt_force=0
 opt_server=0
 
-function usage {
+usage() {
 	cat <<-EOF >&2
 	$*
 	Usage:
@@ -35,7 +35,7 @@ function usage {
 	exit 1
 }
 
-function make_isns_name {
+make_isns_name() {
 	OFS="$IFS"
 	IFS=.
 	set -- $*
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin