Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37882038
en ru br
Репозитории ALT
5.1: 2.86-alt2
4.1: 2.86-alt2
4.0: 2.86-alt1
3.0: 2.85-alt8
www.altlinux.org/Changes

Группа :: Система/Настройка/Загрузка и инициализация
Пакет: SysVinit

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

Патч: sysvinit-2.86-deb-init-u-in-06.patch
Скачать


#! /bin/sh /usr/share/dpatch/dpatch-run
## 65_init_u_in_06.dpatch by Thomas Hood
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Allow 'telinit u' in runlevels 0 and 6
@DPATCH@
diff -urNad --exclude=CVS --exclude=.svn ./man/init.8 /tmp/dpep-work.ZhzV9R/trunk/man/init.8
--- ./man/init.8	2006-01-04 11:38:11.000000000 +0100
+++ /tmp/dpep-work.ZhzV9R/trunk/man/init.8	2006-01-04 11:38:26.000000000 +0100
@@ -159,7 +159,7 @@
 .IP "\fBU\fP or \fBu\fP"
 tell \fBinit\fP to re-execute itself (preserving the state). No re-examining of 
 \fB/etc/inittab\fP file happens. Run level should be one of
-\fBSs12345\fP
+\fBSs0123456\fP
 otherwise request would be silently ignored.
 .PP
 \fBtelinit\fP can tell \fBinit\fP how long it should wait
diff -urNad --exclude=CVS --exclude=.svn ./src/init.c /tmp/dpep-work.ZhzV9R/trunk/src/init.c
--- ./src/init.c	2006-01-04 11:38:12.000000000 +0100
+++ /tmp/dpep-work.ZhzV9R/trunk/src/init.c	2006-01-04 11:38:12.000000000 +0100
@@ -1996,7 +1996,7 @@
 	char		**env;
 	int		fd;
 
-	if (strchr("S12345",runlevel) == NULL)
+	if (strchr("S0123456",runlevel) == NULL)
 		return;
 
 	/*
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin