aboutsummaryrefslogtreecommitdiffstats
path: root/event.d/rcS
blob: 728ae3967f9a6279425d4e4d250bd322fa4c5582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# rcS - runlevel compatibility
#
# This task runs the old sysv-rc startup scripts.

start on startup

stop on runlevel

# Note: there can be no previous runlevel here, if we have one it's bad
# information (we enter rc1 not rcS for maintenance).  Run /etc/rc.d/rc
# without information so that it defaults to previous=N runlevel=S.
console output
script
	runlevel --set S >/dev/null || true

	/etc/rc.d/rc.sysinit 
	runlevel --reboot || true

	runlevel=$(/bin/awk -F ':' '$3 == "initdefault" { print $2 }' /etc/inittab)
	[ -z "$runlevel" ] && runlevel="3"
	for t in $(cat /proc/cmdline); do
		case $t in
			-s|single|S) runlevel="S" ;;
			[1-9])       runlevel="$t" ;;
		esac
	done
	telinit $runlevel
end script
backup-do-not-use/log/perl-install/share?id=49897f4672cd9ff8c53702a3a6816182eb925f18&ofs=50'>Collapse)AuthorAgeFilesLines ... * updated with newer xfs_progs.Francois Pons2003-08-131-1/+1 | * Updated Spanish translationsFabián Mandelbaum2003-08-131-1731/+2760 | * updated pot filePablo Saratxaga2003-08-1356-111157/+172589 | * by the way, gen_locales.sh makes an error becausePascal Rigaux2003-08-121-1/+1 | | | | | | | | | | | /usr/X11R6/lib/X11/locale/common doesn't exist anymore. It used to contain ximcp.so.2 xlcDef.so.2 xlcUTF8Load.so.2 xlibi18n.so.2 xlocale.so.2 xomGeneric.so.2 in mdk9.0, but mdk9.1 install was without it and it was ok... * updated pot filePablo Saratxaga2003-08-112-128/+101 | * added bash-completion in TERMINALS section.Francois Pons2003-08-111-1/+1 | * updated pot filePablo Saratxaga2003-08-082-87/+233 | * updated pot filePablo Saratxaga2003-08-042-72/+226 | * Add new cooker logo for installationFlorent Villard2003-08-041-0/+0 | * Add gnome calculator and charmapFrederic Crozat2003-08-011-3/+3 | * Added locale->fonts-* dependenciesPablo Saratxaga2003-08-011-5/+8 | * updated pot filePablo Saratxaga2003-07-312-634/+219 | * Add vera font by defaultFrederic Crozat2003-07-291-1/+1 | * updated pot filePablo Saratxaga2003-07-292-90/+67 | * moved mkfs.xfsFrancois Pons2003-07-281-1/+1 | * updated pot filePablo Saratxaga2003-07-252-787/+757 | * removed ncompress (contrib)Frederic Lepied2003-07-241-1/+1 | * Added Uzbek cyrillic filePablo Saratxaga2003-07-231-0/+18251 | * updated pot filePablo Saratxaga2003-07-211-51/+117 | * updated pot filePablo Saratxaga2003-07-141-138/+418 | * changed "Country" . " / Region" to "Country / Region" and fixed Chinese po'sPablo Saratxaga2003-07-121-12/+7 | * updated pot filePablo Saratxaga2003-07-101-95/+129 | * updated pot filePablo Saratxaga2003-07-092-10998/+11474 | * install netprofile on laptopsFrederic Lepied2003-07-081-0/+1 | * iAdded various new keyboard layoutsPablo Saratxaga2003-07-011-0/+0 | * Moved Bokmaal file to nb.poPablo Saratxaga2003-06-281-21449/+0 | * Fixed typos; updated Ukrainian po filePablo Saratxaga2003-06-272-33/+33 | * updated pot filePablo Saratxaga2003-06-272-498/+721 | * use the mkswap commandPascal Rigaux2003-06-181-0/+1 | | | | | | | => simpler code and mkswap is not big => rely on mkswap for choosing the swap version (note that kernel 2.5 doesn't handle v0 swap anymore) * updated pot filePablo Saratxaga2003-06-162-458/+572 | * change a bit how strings are passed to advertising systemGuillaume Cottenceau2003-06-1216-1252/+1632 | | | | | | so that we don't specify absolute x,y positions for each paragraph, ending with overwritten text in some localizations * cookerGuillaume Cottenceau2003-06-061-0/+0 | * updated Estonien, Japanese, Albanian and Vietnamese po filesPablo Saratxaga2003-06-033-3301/+3539 | * UpdateArkadiusz Lipiec2003-06-021-195/+308 | * updated Spanish translationsFabián Mandelbaum2003-06-021-154/+271 | * changed the name of the russian phonetic layoutPablo Saratxaga2003-05-3147-6454/+11245 | * updated Vietnamese filePablo Saratxaga2003-05-302-67/+68 | * updated Albanian filePablo Saratxaga2003-05-281-5/+46 | * updated pot filePablo Saratxaga2003-05-261-3/+43 | * updated pot filePablo Saratxaga2003-05-222-75/+134 | * updated pot filePablo Saratxaga2003-05-202-98/+147 | * updated German, Estonian and Finnish filesPablo Saratxaga2003-05-203-1420/+1964 | * update french translationThierry Vignaud2003-05-201-67/+54 | * updated Spanish translationsFabián Mandelbaum2003-05-191-221/+176 | * updated pot filePablo Saratxaga2003-05-16