View Single Post
Old 12-12-2019, 06:02 AM   #21
MrTick
Enhtusiast
MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.MrTick ought to be getting tired of karma fortunes by now.
 
MrTick's Avatar
 
Posts: 53
Karma: 2340139
Join Date: Dec 2018
Device: K3 DxG PW1 KV PW4
Soooo... I've written a script that mimics initctl show-convig -e functionality on a given folder.

I've transferred whole /etc/upstart to PC:
Code:
> ./initctl_show_config.sh upstart/ > upstart.txt # this took many seconds :)
> python initctl2dot.py -f upstart.txt -o upstart.dot
> dot -Tjpg -o kindle_upstart.jpg upstart.dot
Result is attached: kindle_upstart_PW4_5.10.3.jpg

Quote:
Emits denoted by green lines.
Start on denoted by blue lines.
Stop on denoted by red lines.
This is a little modded system, so we can se i.e. following block:
Attached Thumbnails
Click image for larger version

Name:	linkss_example.png
Views:	992
Size:	236.0 KB
ID:	175540  
Attached Images
File Type: jpg kindle_upstart_PW4_5.10.3.jpg (1.48 MB, 478 views)
Attached Files
File Type: zip scripts.zip (5.1 KB, 215 views)

Last edited by MrTick; 12-12-2019 at 06:17 AM. Reason: Renamed jpg to inclulde HW and version
MrTick is offline   Reply With Quote