Ajte sada mi objasnite lepo sta je SysV init style, a sta BSD style.
Koristim slackware odkad ikad, i ne svidjaju mi se njegove rc skripte, tako da sam ja napisao kako meni odgovara. Mozda sam i izmislio toblu vodu ali nisam namerno.
To ovako izgleda, a vi mi recite da li je ovo prvo, ili drugo.... ili trece:
Code:
/etc/runlevel.0:
total 52
-rwxr-xr-x 1 root root 789 Dec 15 13:07 apache*
-rwxr-xr-x 1 root root 103 Dec 14 13:27 dhcpd*
-rwxr-xr-x 1 root root 405 Dec 14 13:27 killall*
-rwxr-xr-x 1 root root 116 Dec 14 13:27 lvm*
-rwxr-xr-x 1 root root 1956 Dec 14 13:27 mysqld*
-rwxr-xr-x 1 root root 320 Dec 14 13:27 randomseed*
-rwxr-xr-x 1 root root 728 Dec 14 13:27 samba*
-rwxr-xr-x 1 root root 273 Dec 14 13:27 shutdown*
-rwxr-xr-x 1 root root 1222 Dec 14 13:27 sshd*
-rwxr-xr-x 1 root root 2439 Dec 19 18:34 start*
-rwxr-xr-x 1 root root 87 Dec 14 13:27 swapoff*
-rwxr-xr-x 1 root root 455 Dec 14 13:27 timesync*
-rwxr-xr-x 1 root root 287 Dec 14 13:27 umount*
/etc/runlevel.1:
total 4
-rwxr-xr-x 1 root root 1855 Dec 14 13:27 rc.K*
/etc/runlevel.2:
total 76
-rw-r--r-- 1 root root 32366 Dec 14 13:27 cbq
-rwxr-xr-x 1 root root 4416 Jan 11 17:20 firewall*
-rwxr-xr-x 1 root root 1149 Dec 14 13:27 forward*
-rwxr-xr-x 1 root root 373 Dec 14 13:27 hostname*
-rwxr-xr-x 1 root root 4041 Dec 15 12:40 inet1*
-rw-r--r-- 1 root root 889 Dec 14 13:27 inet1.conf
-rwxr-xr-x 1 root root 1027 Jan 12 12:58 start*
/etc/runlevel.3:
total 20
-rwxr-xr-x 1 root root 466 Dec 14 13:27 acpid*
-rwxr-xr-x 1 root root 1514 Dec 14 13:27 alsa*
-rw-r--r-- 1 root root 3949 Dec 14 13:27 cups
-rwxr-xr-x 1 root root 1892 Dec 19 18:33 start*
-rwxr-xr-x 1 root root 861 Dec 14 13:27 syslog*
/etc/runlevel.4:
total 24
-rwxr-xr-x 1 root root 789 Dec 15 13:07 apache*
-rwxr-xr-x 1 root root 1156 Dec 14 13:27 gpm*
-rwxr-xr-x 1 root root 1956 Dec 14 13:27 mysqld*
-rw-r--r-- 1 root root 728 Dec 14 13:27 samba
-rwxr-xr-x 1 root root 1222 Dec 14 13:27 sshd*
-rwxr-xr-x 1 root root 764 Dec 15 13:20 start*
/etc/runlevel.5:
total 4
-rwxr-xr-x 1 root root 637 Dec 14 13:27 start*
/etc/runlevel.6:
total 52
-rwxr-xr-x 1 root root 789 Dec 15 13:07 apache*
-rwxr-xr-x 1 root root 103 Dec 14 13:27 dhcpd*
-rwxr-xr-x 1 root root 405 Dec 14 13:27 killall*
-rwxr-xr-x 1 root root 116 Dec 14 13:27 lvm*
-rwxr-xr-x 1 root root 1956 Dec 14 13:27 mysqld*
-rwxr-xr-x 1 root root 320 Dec 14 13:27 randomseed*
-rwxr-xr-x 1 root root 218 Dec 14 13:27 reboot*
-rwxr-xr-x 1 root root 728 Dec 14 13:27 samba*
-rwxr-xr-x 1 root root 1222 Dec 14 13:27 sshd*
-rwxr-xr-x 1 root root 2432 Dec 19 18:34 start*
-rwxr-xr-x 1 root root 87 Dec 14 13:27 swapoff*
-rwxr-xr-x 1 root root 455 Dec 14 13:27 timesync*
-rwxr-xr-x 1 root root 287 Dec 14 13:27 umount*
/etc/runlevel.S:
total 88
-rwxr-xr-x 1 root root 426 Dec 14 13:27 cleanup*
-rwxr-xr-x 1 root root 172 Dec 14 13:27 devfs*
-rwxr-xr-x 1 root root 114 Dec 14 13:27 forcefsck*
-rwxr-xr-x 1 root root 604 Dec 14 13:27 hwclock*
-rwxr-xr-x 1 root root 450 Dec 14 13:27 lvm*
-rwxr-xr-x 1 root root 241 Dec 15 14:31 modules*
-rwxr-xr-x 1 root root 135 Dec 14 13:27 mount*
-rwxr-xr-x 1 root root 126 Dec 14 13:27 mtab*
-rwxr-xr-x 1 root root 150 Dec 14 13:27 nonrootck*
-rwxr-xr-x 1 root root 447 Dec 14 13:27 random*
-rwxr-xr-x 1 root root 25477 Dec 14 13:27 rc.modules*
-rwxr-xr-x 1 root root 188 Dec 14 13:27 readwrite*
-rwxr-xr-x 1 root root 4155 Dec 14 13:27 rootfs*
-rwxr-xr-x 1 root root 2300 Dec 14 13:27 start*
-rwxr-xr-x 1 root root 30 Dec 14 13:27 swap*
Kao sto se da primetiti nisam namesti single user mode, zbog cega cu verovatno jednom prilikom zazaliti, ali opet tu je level 2. koja moze da posluzi kao isti
A ovako sam definisao runlevele
Code:
A ovako sam definisao runlevele:
# These are the runlevels
# 0 = halt
# 1 = single user mode
# 2 = network configuring
# 3 = multiuser mode
# 4 = local scripts
# 5 = X11 with KDM GDM XDM
# 6 = reboot
# System runlevels
l0:0:wait:/etc/runlevel.0/start
l1:1:wait:/etc/runlevel.1/start
l2:2345:wait:/etc/runlevel.2/start
l3:345:wait:/etc/runlevel.3/start
l4:45:wait:/etc/runlevel.4/start
#l5:5:wait:/etc/runlevel.5/start *1
l6:6:wait:/etc/runlevel.6/start
*1 Ovaj runlevel je morao na kraj, neobjasnjivi simptom slacka, da zanemari dalju dodatnu konfiguraciju inittaba koji se nalazi posle definisanog grafickog runlevel-a