Skip to content

Instantly share code, notes, and snippets.

@EdHurtig
Created December 16, 2016 05:39
Show Gist options
  • Save EdHurtig/c60255de0cadc3db50c70a2996417b6b to your computer and use it in GitHub Desktop.
Save EdHurtig/c60255de0cadc3db50c70a2996417b6b to your computer and use it in GitHub Desktop.
root@beaglebone:/sys/class/gpio# systemctl status
● beaglebone
State: running
Jobs: 0 queued
Failed: 0 units
● beaglebone
State: running
Jobs: 0 queued
Failed: 0 units
● beaglebone
State: running
Jobs: 0 queued
Failed: 0 units
Since: Sat 2000-01-01 04:08:33 UTC; 16 years 11 months ago
CGroup: /
├─init.scope
│ └─1 /sbin/init
└─system.slice
├─avahi-daemon.service
│ ├─799 avahi-daemon: registering [beaglebone.local
│ └─836 avahi-daemon: chroot helpe
├─udhcpd.service
│ └─1338 /usr/sbin/udhcpd -S
├─dbus.service
│ └─811 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
├─cron.service
│ └─766 /usr/sbin/cron -f
├─apache2.service
│ ├─1389 /usr/sbin/apache2 -k start
│ ├─1395 /usr/sbin/apache2 -k start
│ └─1423 /usr/sbin/apache2 -k start
├─wpa_supplicant.service
│ └─959 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
├─bonescript-autorun.service
│ └─773 /usr/bin/nodejs autorun.js
├─system-serial\x2dgetty.slice
│ ├─serial-getty@ttyS0.service
│ │ └─1299 /sbin/agetty --keep-baud 115200 38400 9600 ttyS0 vt220
│ └─serial-getty@ttyGS0.service
│ └─1761 /sbin/agetty --keep-baud 115200 38400 9600 ttyGS0 vt220
├─systemd-journald.service
│ └─560 /lib/systemd/systemd-journald
├─connman.service
│ └─857 /usr/sbin/connmand -n
├─systemd-timesyncd.service
│ └─633 /lib/systemd/systemd-timesyncd
├─ssh.service
│ ├─1240 /usr/sbin/sshd -D
│ ├─2125 sshd: debian [priv]
│ ├─2127 sshd: debian@pts/0
│ ├─2128 -bash
│ ├─2170 sudo su
│ ├─2171 su
│ ├─2172 bash
│ ├─3407 systemctl status
│ └─3408 pager
├─systemd-logind.service
│ └─787 /lib/systemd/systemd-logind
├─system-getty.slice
│ └─getty@tty1.service
│ └─1297 /sbin/agetty --noclear tty1 linux
├─systemd-udevd.service
│ └─590 /lib/systemd/systemd-udevd
root@beaglebone:/sys/class/gpio# systemctl disable bonescript-autorun.service
Removed /etc/systemd/system/multi-user.target.wants/bonescript-autorun.service.
root@beaglebone:/sys/class/gpio# systemctl stop bonescript-autorun.service
root@beaglebone:/sys/class/gpio# systemctl stop apache2.service
root@beaglebone:/sys/class/gpio# systemctl disable apache2.service
apache2.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable apache2
insserv: warning: current start runlevel(s) (empty) of script `apache2' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `apache2' overrides LSB defaults (0 1 6).
root@beaglebone:/sys/class/gpio# systemctl disable ^Cervice
root@beaglebone:/sys/class/gpio# systemctl disable udhcpd.service
udhcpd.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable udhcpd
insserv: warning: current start runlevel(s) (empty) of script `udhcpd' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `udhcpd' overrides LSB defaults (0 1 6).
root@beaglebone:/sys/class/gpio# systemctl stop udhcpd.service
root@beaglebone:/sys/class/gpio#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment