Forum rules
Post your scrot in the appropriate section. If the section does not exist yet - open a new thread ;)
Posts: 2410
Joined: Wed Oct 17, 2012 12:31 pm

Re: Openbox

Unread post by pidsley » Sat Apr 22, 2017 1:35 am

^ That works -- Alpine also creates and populates that directory. Thanks.

Function now looks like:

Code: Select all

printinit() {
	init=$(strings /sbin/init | awk 'match($0, /(upstart|systemd|sysvinit|busybox)/) { print substr($0, RSTART, RLENGTH);exit; }')
	[[ -d /run/openrc/started ]] && init="$init+openrc"
	colorecho Init "$init"

And output:

Code: Select all


OS: Alpine Linux v3.5
Shell: /bin/bash
Init: busybox+openrc
Disk: 586.9M / 1.9G
Mem: 46M / 3532M
Kernel: Linux 4.4.52-0-grsec i686
CPU: Intel Core2 Duo CPU E6550 @ 2.33GHz
"The prettier the user interface, and the fewer odd replies the system allows you to make, the dumber you once appeared in the mind of the designer." -- Ellen Ullman

User avatar
Emacs Sancho Panza
Posts: 4459
Joined: Tue Sep 03, 2013 7:05 am

Re: Openbox

Unread post by GekkoP » Sat Apr 22, 2017 6:09 am

^ Thanks for that

User avatar
lost his house
Posts: 964
Joined: Mon Jan 13, 2014 6:01 am
Location: Michigan

Re: Openbox

Unread post by ChefIronBelly » Sun Apr 23, 2017 8:13 pm

^^ good stuff
(1/1) Installing: LinuxBBQ...................................[69%]==============[/]

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest