{"id":263032,"date":"2015-08-06T14:28:02","date_gmt":"2015-08-06T10:28:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=263032"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=263032","title":{"rendered":"\u0423\u0441\u043a\u043e\u0440\u044f\u0435\u043c \u0437\u0430\u043f\u0443\u0441\u043a BeagleBone \u0438\u043b\u0438 runit \u043d\u0435 \u0434\u043b\u044f \u0447\u0430\u0439\u043d\u0438\u043a\u043e\u0432"},"content":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/266\/746\/a49\/266746a4900c461ca3c34df4803f73b3.jpg\"\/><\/p>\n<p>  \u0412 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u043e\u0441\u043b\u0435 \u0445\u043e\u043b\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430. \u0414\u043b\u044f \u043f\u0440\u0438\u0431\u043e\u0440\u043e\u0432 \u0431\u0435\u0437 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b (\u0432 \u043d\u0438\u0445 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c NutOS, \u043e\u043d \u0436\u0435 EtherNut) \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0435\u0442 \u2014 \u043e\u043d\u0438 \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434 \u043f\u043e\u0441\u043b\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u0417\u0430\u0442\u043e \u0432 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0438 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0445, \u0441 linux \u0432\u043d\u0443\u0442\u0440\u0438, \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u043f\u043e\u0440\u0442\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432\u043e\u043f\u0440\u043e\u0441 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d.<br \/>  \u0412 \u043f\u0438\u043b\u043e\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 10G ethernet \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 <a href=\"http:\/\/beagleboard.org\/bone\">Beaglebone<\/a> \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0442\u044c qemu-\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440, \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u043b\u0438 \u043d\u0430 \u043d\u0435\u0439. \u041a\u0441\u0442\u0430\u0442\u0438, \u044d\u0442\u0430 \u043f\u0438\u043b\u043e\u0442\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f 10-\u0433\u0438\u0433\u0430\u0431\u0438\u0442\u043d\u043e\u0433\u043e \u0441\u0432\u0438\u0447\u0430 \u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 beaglebone-\u043f\u043b\u0430\u0442\u043e\u0439 (\u043d\u0430 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043a \u0441\u0442\u0430\u0442\u044c\u0435) \u0441\u0442\u043e\u0438\u0442 \u0443 \u043d\u0430\u0441 \u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442,<br \/>  \u0421\u0440\u0430\u0437\u0443 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 <a href=\"http:\/\/smarden.org\/runit\">runit<\/a> \u0434\u0430\u043b \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430 500MHz \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 \u0441 \u043f\u043e\u043b\u0443\u043c\u0438\u043d\u0443\u0442\u044b \u0434\u043e \u0448\u0435\u0441\u0442\u0438 \u0441 \u043a\u043e\u043f\u0435\u0439\u043a\u0430\u043c\u0438 \u0441\u0435\u043a\u0443\u043d\u0434.<\/p>\n<p>  <i>Disclaimer: \u044d\u0442\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0434\u043b\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e wiki \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u0438, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0432\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u041f\u041e \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b, \u044f \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u043d\u0443\u0436\u043d\u044b\u043c \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c.<\/i> <br \/>  <a name=\"habracut\"><\/a><\/p>\n<h2>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435: \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u0438 \u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c<\/h2>\n<p>  \u041f\u043e\u043f\u0440\u043e\u0431\u0443\u044e \u043a\u043e\u0440\u043e\u0442\u043a\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443.<br \/>  \u041e\u0431\u044b\u0447\u043d\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430 linux \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:   <\/p>\n<ol>\n<li>\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u0447\u0438\u043a (lilo, grub, u-boot, &#8230;)<\/li>\n<li>\u044f\u0434\u0440\u043e<\/li>\n<li>\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 init<\/li>\n<li>\u0432\u0441\u0451 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 (\u0442\u043e, \u0447\u0442\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \/etc\/inittab) \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e\u0439 \u0441\u0430\u043c\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 init<\/li>\n<\/ol>\n<p>  \u041d\u0435 \u0431\u0443\u0434\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e runlevel&#8217;\u044b. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0435\u0441\u0442\u044c man: man runlevel, man init, man inittab.<\/p>\n<p>  init \u2014 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u043e\u043d, \u0442\u0430\u043a \u0438\u043b\u0438 \u0438\u043d\u0430\u0447\u0435, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u0441\u0435\u043c\u0438 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438, \u0438 \u0434\u0430\u0436\u0435 \u043d\u043e\u043c\u0435\u0440 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u0443 \u043d\u0435\u0433\u043e \u2014 1. \u0415\u0441\u043b\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0443\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u043e, \u0442\u043e \u0435\u0433\u043e \u0437\u0430\u0434\u0430\u0447\u0430 \u2014 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u0432 \u0444\u0430\u0439\u043b\u0435 \/etc\/inittab.<\/p>\n<p>  \u041d\u043e \u0432\u0435\u0440\u043d\u0451\u043c\u0441\u044f \u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438. <\/p>\n<p>  \u0410\u0432\u0442\u043e\u0440\u044b \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432, \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e System V (sysv) \u043f\u043e\u0440\u044f\u0434\u043a\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u0440\u0435\u0448\u0438\u043b\u0438, \u0447\u0442\u043e init \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u0441\u043a\u0440\u0438\u043f\u0442 rc \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0438\u043c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (runlevel). \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0446\u0435\u043d\u0438\u0432\u0430\u0442\u044c \u0442\u0430\u043a \u0436\u0435, \u043a\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0435\u0441\u043b\u0438 \u0431\u044b \u0432\u0441\u0435 \u0434\u0435\u0442\u0438 \u0445\u043e\u0434\u0438\u043b\u0438 \u0432 \u0448\u043a\u043e\u043b\u0443 \u0441 \u043e\u0434\u043d\u0438\u043c \u0443\u0447\u0435\u0431\u043d\u0438\u043a\u043e\u043c, \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u043b\u0438 \u0435\u0433\u043e \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445, \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u0432 \u043a\u0430\u043a\u043e\u043c \u043e\u043d\u0438 \u043a\u043b\u0430\u0441\u0441\u0435 \u0443\u0447\u0430\u0442\u0441\u044f. \u041c\u043e\u0436\u043d\u043e \u0441\u0435\u0431\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0442\u043e\u043b\u0449\u0438\u043d\u044b \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u043b \u0431\u044b\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0443\u0447\u0435\u0431\u043d\u0438\u043a!<\/p>\n<p>  \u0421 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u0442\u0430\u0440\u0442\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b linux \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f.<\/p>\n<p>  \u0412\u043e\u0442, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u0438\u0437 \/etc\/inittab:<\/p>\n<pre> id:2:initdefault:  # Boot-time system configuration\/initialization script. # This is run first except when booting in emergency (-b) mode. si::sysinit:\/etc\/init.d\/rcS  # What to do in single-user mode. ~~:S:wait:\/sbin\/sulogin  # Runlevel 0 is halt. # Runlevel 1 is single-user. # Runlevels 2-5 are multi-user. # Runlevel 6 is reboot.  l0:0:wait:\/etc\/init.d\/rc 0 l1:1:wait:\/etc\/init.d\/rc 1 l2:2:wait:\/etc\/init.d\/rc 2 l3:3:wait:\/etc\/init.d\/rc 3 l4:4:wait:\/etc\/init.d\/rc 4 l5:5:wait:\/etc\/init.d\/rc 5 l6:6:wait:\/etc\/init.d\/rc 6 <\/pre>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 \/etc\/init.d\/rc \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 300 (!) \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430 \u0434\u043b\u044f shell&#8217;\u0430. \u0410 \u0434\u0435\u043b\u0430\u0435\u0442, \u0432 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e, \u0432\u0441\u0435\u0433\u043e \u043d\u0438\u0447\u0435\u0433\u043e: \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438\u0437 \/etc\/rc?.d \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u044d\u0442\u0430\u043f\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (runlevel&#8217;\u0430). <\/p>\n<p>  \u0415\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435. \u041d\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 (runlevel S, \u0441\u043c. \u0432\u044b\u0448\u0435 \u0438\u043b\u0438 \u0432\u043d\u0443\u0442\u0440\u044c \/etc\/inittab) \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432\u0441\u0451, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \/etc\/rcS.d\/. \u044d\u0442\u043e 20 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043e\u0442 hostname \u0434\u043e \u043c\u043e\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f nfs \u0438 \u0438\u043d\u0438\u0446\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 random-\u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440\u0430.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u0447\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 init \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u0432 multi-user \u0440\u0435\u0436\u0438\u043c \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438\u0437 \/etc\/rc2.d\/. \u0412 \u0441\u0430\u043c\u043e\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0438\u0445 \u043e\u043a\u043e\u043b\u043e \u0434\u0435\u0441\u044f\u0442\u0438 \u0448\u0442\u0443\u043a.<\/p>\n<p>  \u041f\u0440\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c (\u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0434\u0435\u043c\u043e\u043d\u043e\u0432 etc) \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b \u043e\u0431\u044b\u0447\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442 \u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0435\u0449\u0451 \u043e\u0434\u0438\u043d-\u0434\u0432\u0430 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0438 \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043e\u043f\u044f\u0442\u044c \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f. <\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438\u043b\u0438 \u043d\u043e\u0443\u0442\u0431\u0443\u043a \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0433\u0443\u0442 \u043d\u0435 \u0442\u043e\u0440\u043e\u043f\u0438\u0442\u044c\u0441\u044f \u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u043e\u0439, \u0442\u043e \u043f\u0440\u0438\u0431\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0432\u044b\u043f\u0443\u0441\u043a\u0430\u0435\u043c, \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u043f\u043e\u0441\u043b\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435. \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432, \u043a\u0430\u043a <a href=\"http:\/\/metrotek.spb.ru\/b3et.html\">\u0411\u0435\u0440\u043a\u0443\u0442-\u0415\u0422<\/a>, \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0435\u0442 \u2014 \u0442\u0430\u043c \u043c\u044b \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0430 \u0434\u043b\u044f <a href=\"http:\/\/metrotek.spb.ru\/b45.html\">\u0411\u0435\u0440\u043a\u0443\u0442-\u041c\u041c\u0422<\/a> \u0432\u043e\u043f\u0440\u043e\u0441 \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430 \u0434\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u0435\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u0441\u044f \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c.<\/p>\n<p>  \u0422\u0430\u043a \u0432\u043e\u0442, \u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c runit \u0434\u0430\u0451\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u043e\u0439 \u0441\u0442\u0430\u0440\u0442\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b.<\/p>\n<p>  \u0424\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0441\u0442\u0430\u0440\u0442 linux (\u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e linux, \u043c\u043e\u0436\u043d\u043e \u0438 bsd-like \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c, \u0432 \u043e\u0431\u0449\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435) \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 runit \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u0437\u0430\u043f\u0443\u0441\u043a\u0443 \u044f\u0434\u0440\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b runit-init, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u043e\u0439 \u0442\u0440\u0451\u0445 shell-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432:   <\/p>\n<ol>\n<li> \/etc\/runit\/1 \u2014 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u0430\u0440\u0442 <\/li>\n<li> \/etc\/runit\/2 \u2014 multi-user mode (\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e runlevel 2) <\/li>\n<li> \/etc\/runit\/3 \u2014 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\/\u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 (poweroff, shutdown, halt) <\/li>\n<\/ol>\n<p>  \u041a\u0430\u0436\u0434\u044b\u0439 \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0431\u044b\u0447\u043d\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u043e\u0434\u0438\u043d-\u0434\u0432\u0430 \u044d\u043a\u0440\u0430\u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u0434\u0435\u043b\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u043e, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e. \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0435, \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u0438 \u0438, \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u043c\u0443 \u043e\u0431\u044a\u0451\u043c\u0443 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440 \u0438\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043e\u0447\u043d\u043e\u0433\u043e \u043e\u0431\u0440\u0430\u0437\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043b\u0435\u0433\u043a\u043e \u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043c\u043e\u0436\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c.<\/p>\n<p>  \u041e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043e\u0431\u044b\u0447\u043d\u043e \u0441\u0442\u0430\u0440\u0442\u0443\u044e\u0442 \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b <a href=\"http:\/\/smarden.org\/runit\/runsvdir.8.html\">runsvdir<\/a>, \u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438, \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u044b \u0438 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442\u0441\u044f \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u043c. \u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 runsvdir <a href=\"http:\/\/habrahabr.ru\/post\/83775\/\">\u0443\u0436\u0435 \u0435\u0441\u0442\u044c<\/a> \u043d\u0430 \u0425\u0430\u0431\u0440\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u044d\u0442\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0437\u0434\u0435\u0441\u044c \u043d\u0435 \u0431\u0443\u0434\u0443.<\/p>\n<p>  \u0412 \u043b\u043e\u0433\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 Bercut.BeagleBone \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0432\u0440\u0435\u043c\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0437\u0430\u0442\u0440\u0430\u0442\u0438\u043b\u0430 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043a\u0440\u0438\u043f\u0442\u0430 (\/etc\/runit\/1) \u0438 \u0432\u0440\u0435\u043c\u044f \u0434\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f \u00ablogin:\u00bb:<\/p>\n<pre> 20:06:22.33157 Uncompressing Linux... done, booting the kernel. 20:06:22.99351 - runit: $!Id: 25da3b86f7bed4038b8a039d2f8e8c9bbcf0822b $: booting. 20:06:22.99351 - runit: enter stage: \/etc\/runit\/1 20:06:24.07955 - runit: leave stage: \/etc\/runit\/1 20:06:24.07955 - runit: enter stage: \/etc\/runit\/2 20:06:25.41956 20:06:25.41957 Debian GNU\/Linux 7.0 x10-02 ttyO0 20:06:25.41957 20:06:25.41957 x10-02 login: <\/pre>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b (\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 arm 500&nbsp;MHz) \u0437\u0430\u043d\u044f\u043b \u043e\u043a\u043e\u043b\u043e \u0442\u0440\u0451\u0445 \u0441\u0435\u043a\u0443\u043d\u0434. \u0438 \u044d\u0442\u043e \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u0441\u0442\u0430\u0440\u0442\u0430 \u044f\u0434\u0440\u0430! <\/p>\n<h2>\u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430: \u0448\u0430\u0433 \u0437\u0430 \u0448\u0430\u0433\u043e\u043c<\/h2>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u043d \u0432 \u043e\u0431\u0449\u0438\u0445 \u0447\u0435\u0440\u0442\u0430\u0445, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u0434\u0443\u043c\u0430\u0442\u044c\u0441\u044f \u0438 \u043f\u043e\u043d\u044f\u0442\u044c, \u043a\u0430\u043a \u043e\u043d\u043e \u0443\u0441\u0442\u0440\u043e\u0435\u043d\u043e, \u0430 \u043d\u0435 <s>\u0442\u0443\u043f\u043e<\/s> \u0431\u0435\u0437\u0434\u0443\u043c\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0438 \u0443\u0434\u0438\u0432\u043b\u044f\u0442\u044c\u0441\u044f, \u043f\u043e\u0447\u0435\u043c\u0443 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/p>\n<h3>\u0428\u0430\u0433 1<\/h3>\n<p>  \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 runit. \u041a\u0430\u043a \u0443\u0433\u043e\u0434\u043d\u043e, \u0432 \u0432\u0438\u0434\u0435 <s>\u0447\u0443\u0447\u0435\u043b\u0430 \u0438\u043b\u0438 \u0442\u0443\u0448\u043a\u0438<\/s> \u043f\u0430\u043a\u0435\u0442\u0430 \u0438\u043b\u0438 \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 <a href=\"http:\/\/smarden.org\/runit\/install.html\">\u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432<\/a>. <\/p>\n<h3>\u0428\u0430\u0433 2<\/h3>\n<p>  \u0423\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u044b \u043f\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c <a href=\"http:\/\/smarden.org\/runit\/runsvdir.8.html\">runsvdir<\/a> \u0441\u0442\u0430\u0440\u0442\u0443\u044e\u0442, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0438 \u0434\u043b\u044f \u043d\u0438\u0445 \u0432\u0435\u0434\u0451\u0442\u0441\u044f \u043b\u043e\u0433. \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 daemontools \u0438\u043b\u0438 runit (\u0431\u0435\u0437 \u0437\u0430\u043c\u0435\u043d\u044b init), \u0442\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0447\u0438\u0442\u0430\u0442\u044c.<\/p>\n<h3>\u0428\u0430\u0433 3<\/h3>\n<p>  \u041d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0435\u0440\u0432\u0438\u0441 \u0434\u043b\u044f \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u043d\u043e\u0433\u043e \u043b\u043e\u0433\u0438\u043d\u0430. \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438 \u0438\u0437 \u0441\u0435\u0440\u0438\u0438 daemontools \u0438\u043b\u0438 runit (\u0431\u0435\u0437 \u0437\u0430\u043c\u0435\u043d\u044b init), \u0442\u043e \u0432\u0430\u043c \u0431\u0443\u0434\u0435\u0442 \u0442\u044f\u0436\u0435\u043b\u043e \u0438 \u0434\u0430\u043b\u044c\u0448\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u0447\u0438\u0442\u0430\u0442\u044c. Sorry.<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 run \u0434\u043b\u044f \u043f\u044f\u0442\u043e\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 (Alt-F5) \u043c\u043e\u0436\u0435\u0442, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"bash\">#!\/bin\/sh exec 2&gt;&1 exec setsid \/sbin\/agetty --nohostname tty5 38400 linux <\/code><\/pre>\n<h3>\u0428\u0430\u0433 4<\/h3>\n<p>  \u0412 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \/etc\/runit \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0448\u0435\u043b\u043b-\u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0441 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0449\u0438\u043c\u0438\u0441\u044f \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f\u043c\u0438 1, 2, 3 (\u0440\u0430\u0437, \u0434\u0432\u0430, \u0442\u0440\u0438). \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445 \u044d\u0442\u043e bash-\u0441\u043a\u0440\u0438\u043f\u0442\u044b, \u043d\u043e, \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435, \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043c\u0435\u0448\u0430\u0435\u0442 \u0438\u043c \u0431\u044b\u0442\u044c sh-\u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c\u0438 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 perl-\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430\u043c\u0438. \u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0430 \u0437\u0430\u0447\u0435\u043c?<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442 <b>1<\/b> \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 (\u0430\u043d\u0430\u043b\u043e\u0433 rcS, single-user mode), \u0441\u043a\u0440\u0438\u043f\u0442 <b>2<\/b> \u2014 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0440\u0435\u0436\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0438\u0441\u0442\u0435\u043c\u044b, <b>3<\/b> \u2014 shutdown, reboot \u0438 poweroff.<\/p>\n<h3>\u0428\u0430\u0433 5<\/h3>\n<p>  \u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u043f\u0435\u0440\u0435\u0434\u0430\u0432 \u044f\u0434\u0440\u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 init=\/sbin\/runit-init.<\/p>\n<h3>\u0428\u0430\u0433 6<\/h3>\n<p>  \u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0438 \u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u043d\u044f\u0442\u044c, \u0447\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \ud83d\ude09<\/p>\n<h3>\u0428\u0430\u0433 7<\/h3>\n<p>  \u0415\u0441\u043b\u0438 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0438 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f \u043a \u0432\u0432\u043e\u0434\u0443 \u043b\u043e\u0433\u0438\u043d\u0430 \u043d\u0430 5-\u0439 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u0442\u043e \u044f \u0432\u0430\u0441 \u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u044e: \u0411\u041e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u0434\u0430\u043b\u0430\u043d\u0430! \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043a\u0440\u0443\u0447\u0438\u0432\u0430\u0442\u044c \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0435\u0440\u0432\u0438\u0441\u044b (udev etc.)<\/p>\n<p>  \u0421\u043a\u0440\u0438\u043f\u0442\u044b 1, 2, 3 \u2014 \u0432\u043d\u0438\u0437\u0443 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0438 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440\u0430\u043c\u0438 (\u0441\u043c. \u043d\u0438\u0436\u0435). \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u043e\u0431\u044a\u0451\u043c \u043a\u043e\u0434\u0430. \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0447\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b!<\/p>\n<h2>\u043b\u043e\u0433 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u043b\u0430\u0442\u044b Bercut.BeagleBone<\/h2>\n<p>  \u0421 \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u00ab\u0445\u043e\u043b\u043e\u0434\u043d\u043e\u0433\u043e\u00bb \u0441\u0442\u0430\u0440\u0442\u0430 \u0434\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f login: \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0432\u0441\u0435\u0433\u043e 6.1019 \u0441\u0435\u043a\u0443\u043d\u0434. \u041f\u043e-\u043c\u043e\u0435\u043c\u0443, \u0432\u0435\u0441\u044c\u043c\u0430 \u043d\u0435\u043f\u043b\u043e\u0445\u043e.<\/p>\n<pre> 20:06:19.31769 U-Boot SPL 2011.09-00000-gf63b270-dirty (Apr 24 2012 - 09:51:01) 20:06:19.52354 Texas Instruments Revision detection unimplemented 20:06:19.94867 No AC power, disabling frequency switch 20:06:19.94868 OMAP SD\/MMC: 0 20:06:19.94868 reading u-boot.img 20:06:19.94868 reading u-boot.img 20:06:19.94868 20:06:19.94868 20:06:19.94869 U-Boot 2011.09-00000-gf63b270-dirty (Apr 24 2012 - 09:51:01) 20:06:20.20756 20:06:20.20756 I2C:   ready 20:06:20.20756 DRAM:  256 MiB 20:06:20.39067 No daughter card present 20:06:20.39067 NAND:  HW ECC Hamming Code selected 20:06:20.39067 nand_get_flash_type: unknown NAND device: Manufacturer ID: 0x10, Chip ID: 0x10 20:06:20.39970 No NAND device found!!! 20:06:20.39970 0 MiB 20:06:20.39970 MMC:   OMAP SD\/MMC: 0 20:06:20.39970 *** Warning - readenv() failed, using default environment 20:06:20.65954 20:06:20.65954 Net:   cpsw 20:06:20.65955 Hit any key to stop autoboot:  0 20:06:21.54266 SD\/MMC found on device 0 20:06:21.54266 reading uEnv.txt 20:06:21.54266 20:06:21.54266 202 bytes read 20:06:21.54266 Loaded environment from uEnv.txt 20:06:21.54266 Importing environment from mmc ... 20:06:21.74756 reading uimage 20:06:21.87867 20:06:21.87868 3083432 bytes read 20:06:21.87869 ## Booting kernel from Legacy Image at 80007fc0 ... 20:06:21.87870    Image Name:   Angstrom\/3.2.18\/beaglebone 20:06:21.88761    Image Type:   ARM Linux Kernel Image (uncompressed) 20:06:21.88761    Data Size:    3083368 Bytes = 2.9 MiB 20:06:21.94465    Load Address: 80008000 20:06:21.94465    Entry Point:  80008000 20:06:21.94465    Verifying Checksum ... OK 20:06:21.94465    XIP Kernel Image ... OK 20:06:22.33156 OK 20:06:22.33156 20:06:22.33156 Starting kernel ... 20:06:22.33156 20:06:22.33157 Uncompressing Linux... done, booting the kernel. 20:06:22.99351 - runit: $!Id: 25da3b86f7bed4038b8a039d2f8e8c9bbcf0822b $: booting. 20:06:22.99351 - runit: enter stage: \/etc\/runit\/1 20:06:24.07955 - runit: leave stage: \/etc\/runit\/1 20:06:24.07955 - runit: enter stage: \/etc\/runit\/2 20:06:25.41956 20:06:25.41957 Debian GNU\/Linux 7.0 x10-02 ttyO0 20:06:25.41957 20:06:25.41957 x10-02 login: <\/pre>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0440\u044b runit-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432<\/h2>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\/etc\/runit\/1<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/bash # system one time tasks  PATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin  # re-exec this script with a controlling tty if [ &quot;$(tty)&quot; = &quot;\/dev\/console&quot; ]; then   mountpoint -q \/sys || \\     mount -t sysfs sys \/sys -o nosuid,noexec,nodev   mountpoint -q \/proc || \\     mount -t proc proc \/proc -o nosuid,noexec,nodev   tty=$(&lt;\/sys\/class\/tty\/console\/active)   tty=\/dev\/${tty##* }   exec setsid sh -c &quot;exec bash \/etc\/runit\/1 &lt;$tty &gt;$tty 2&gt;&1&quot; fi  trap : INT TSTP QUIT trap 'sulogin -p &lt;&gt;$(tty) 2&gt;&1' ERR  mountpoint -q \/proc || \\   mount -t proc proc \/proc -o nosuid,noexec,nodev mountpoint -q \/sys || \\   mount -t sysfs sys \/sys -o nosuid,noexec,nodev mountpoint -q \/dev || \\   mount -t devtmpfs dev \/dev -o mode=0755,nosuid  test -e \/dev\/fd || ln -s \/proc\/self\/fd \/dev\/fd  exec 2&gt; &gt;(sed 's\/^\/:: \/') # set -v  . \/etc\/rc.conf  mountpoint -q \/run || \\   mount -t tmpfs run \/run -o mode=0755,nosuid,nodev mountpoint -q \/dev || \\   mount -t devtmpfs dev \/dev -o mode=0755,nosuid  mkdir -p -m0755 \/run\/runit \/run\/lock \/run\/user \/dev\/pts \/dev\/shm \\   \/run\/network \/run\/runit mountpoint -q \/dev\/pts ||    mount -n -t devpts devpts \/dev\/pts -o mode=0620,gid=5,nosuid,noexec mountpoint -q \/dev\/shm || \\   mount -n -t tmpfs shm \/dev\/shm -o mode=1777,nosuid,nodev  mkdir -p -m 0755 \/var\/lib\/supervise mountpoint -q \/var\/lib\/supervise || \\   mount -n -t tmpfs tmpfs \/var\/lib\/supervise -o mode=1777,nosuid,nodev  #mkdir -p -m 0755 \/var\/log #mountpoint -q \/var\/log || \\ #  mount -n -t tmpfs tmpfs \/var\/log -o mode=1777,nosuid,nodev  mount -o remount,ro \/  ip link set up dev lo echo $HOSTNAME &gt; \/proc\/sys\/kernel\/hostname  mount -o remount,rw \/ mount -a -t &quot;nosysfs,nonfs,nonfs4,nosmbfs,nocifs&quot; -O no_netdev  #cp \/var\/lib\/random-seed \/dev\/urandom &&gt;\/dev\/null || true #( umask 077; dd if=\/dev\/urandom of=\/var\/lib\/random-seed count=1  #bs=512 &&gt;\/dev\/n ull )  install -m0664 -o root -g utmp \/dev\/null \/var\/run\/utmp  install -m0 \/dev\/null \/run\/runit\/stopit install -m0 \/dev\/null \/run\/runit\/reboot install -m0644 -o root -g utmp \/dev\/null \/var\/log\/lastlog  dmesg &gt; \/var\/log\/dmesg <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\/etc\/runit\/2<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/bash  PATH=\/bin:\/sbin:\/usr\/bin:\/usr\/sbin  exec 2&gt; &gt;(sed 's\/^\/:: \/') # set -v . \/etc\/rc.conf  # sysctl --system  for i in ${DAEMONS[@]}; do   d=\/var\/lib\/supervise\/${i}   mkdir -p $d ${d}.log   l=\/var\/log\/${i}   mkdir -p $l done  exec env - PATH=$PATH \\ runsvdir -P \/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................' <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\/etc\/runit\/3<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">#!\/bin\/bash  PATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin  exec 2&gt; &gt;(sed 's\/^\/:: \/') # set -v  LAST=0 test -x \/etc\/runit\/reboot && LAST=6  echo 'Waiting for services to stop...' sv -w196 force-stop \/etc\/service\/* sv exit \/etc\/service\/*  stty onlcr echo Shutdown...  udevadm control --exit  killall5 -15 i=10; while killall5 -18 && (( i-- )) ; do echo -n .; sleep 0.5; done; echo killall5 -9  umount \/tmp  mount -o remount,ro \/ sleep 1 sync <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>  <a href=\"http:\/\/cr.yp.to\/daemontools.html\">cr.yp.to\/daemontools.html<\/a> \u2014 \u043f\u0440\u0435\u0434\u043e\u043a runit (\u043e\u0442 D.&nbsp;J.&nbsp;Bernstein&#8217;\u0430) <br \/>   <a href=\"http:\/\/smarden.org\/runit\/\">smarden.org\/runit<\/a> \u2014 runit \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0441\u043e\u043d\u043e\u0439<br \/>   <a href=\"http:\/\/smarden.org\/socklog\/\">smarden.org\/socklog<\/a> \u2014 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 syslog&#8217;\u0443<br \/>   <a href=\"https:\/\/github.com\/chneukirchen\/ignite\">github.com\/chneukirchen\/ignite<\/a> \u2014 \u043d\u0430\u0431\u043e\u0440 init-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0434\u043b\u044f runit<br \/>   <a href=\"http:\/\/lwn.net\/Articles\/331818\/\">lwn.net\/Articles\/331818<\/a> \u2014 \u043f\u0440\u043e \u0442\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0436\u0438\u0442\u044c \u0431\u0435\u0437 udevd<br \/>   <a href=\"http:\/\/metrotek.spb.ru\/x10-24.html\">metrotek.spb.ru\/x10-24.html<\/a> \u2014 \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440 10G, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c<br \/>   <a href=\"http:\/\/habrahabr.ru\/post\/21205\/\">habrahabr.ru\/post\/21205<\/a> \u2014 \u041a\u0430\u043a \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f Linux       \t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/264263\/\"> http:\/\/habrahabr.ru\/post\/264263\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>     \t<img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/266\/746\/a49\/266746a4900c461ca3c34df4803f73b3.jpg\"\/><\/p>\n<p>  \u0412 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a \u043f\u043e\u0441\u043b\u0435 \u0445\u043e\u043b\u043e\u0434\u043d\u043e\u0433\u043e \u0441\u0442\u0430\u0440\u0442\u0430. \u0414\u043b\u044f \u043f\u0440\u0438\u0431\u043e\u0440\u043e\u0432 \u0431\u0435\u0437 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b (\u0432 \u043d\u0438\u0445 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c NutOS, \u043e\u043d \u0436\u0435 EtherNut) \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0435\u0442 \u2014 \u043e\u043d\u0438 \u0433\u043e\u0442\u043e\u0432\u044b \u043a \u0440\u0430\u0431\u043e\u0442\u0435 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0443 \u0441\u0435\u043a\u0443\u043d\u0434 \u043f\u043e\u0441\u043b\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f. \u0417\u0430\u0442\u043e \u0432 \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0438 \u043f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u044b\u0445, \u0441 linux \u0432\u043d\u0443\u0442\u0440\u0438, \u0438 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u043f\u043e\u0440\u0442\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0438\u0437\u043c\u0435\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445, \u0432\u043e\u043f\u0440\u043e\u0441 \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u044f \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u0430\u043a\u0442\u0443\u0430\u043b\u0435\u043d.<br \/>  \u0412 \u043f\u0438\u043b\u043e\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u0432\u043e\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0443\u0442\u0430\u0442\u043e\u0440\u0430 10G ethernet \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443 <a href=\"http:\/\/beagleboard.org\/bone\">Beaglebone<\/a> \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0441\u0447\u0438\u0442\u0430\u0442\u044c qemu-\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440, \u0441 \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435\u043c \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u043b\u0438 \u043d\u0430 \u043d\u0435\u0439. \u041a\u0441\u0442\u0430\u0442\u0438, \u044d\u0442\u0430 \u043f\u0438\u043b\u043e\u0442\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f 10-\u0433\u0438\u0433\u0430\u0431\u0438\u0442\u043d\u043e\u0433\u043e \u0441\u0432\u0438\u0447\u0430 \u0441 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0439 beaglebone-\u043f\u043b\u0430\u0442\u043e\u0439 (\u043d\u0430 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0438 \u043a \u0441\u0442\u0430\u0442\u044c\u0435) \u0441\u0442\u043e\u0438\u0442 \u0443 \u043d\u0430\u0441 \u0432 \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u0438 \u043f\u0430\u0440\u0443 \u043b\u0435\u0442 \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442,<br \/>  \u0421\u0440\u0430\u0437\u0443 \u0441\u043a\u0430\u0436\u0443, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 <a href=\"http:\/\/smarden.org\/runit\">runit<\/a> \u0434\u0430\u043b \u0443\u0441\u043a\u043e\u0440\u0435\u043d\u0438\u0435 \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043d\u0430 500MHz \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 \u0441 \u043f\u043e\u043b\u0443\u043c\u0438\u043d\u0443\u0442\u044b \u0434\u043e \u0448\u0435\u0441\u0442\u0438 \u0441 \u043a\u043e\u043f\u0435\u0439\u043a\u0430\u043c\u0438 \u0441\u0435\u043a\u0443\u043d\u0434.<\/p>\n<p>  <i>Disclaimer: \u044d\u0442\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0434\u043b\u044f \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e wiki \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u0438, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0432\u0441\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u041f\u041e \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b, \u044f \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u043d\u0443\u0436\u043d\u044b\u043c \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c.<\/i>   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-263032","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=263032"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/263032\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=263032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=263032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=263032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}