Date: Sat, 16 Jan 2021 23:28:48 +0000 From: Dennis Clarke <dclarke@blastwave.org> To: Current FreeBSD <freebsd-current@freebsd.org> Subject: service -e doesn't really sort does it? the cool tip is slightly off Message-ID: <f4470fdd-6c20-09de-de76-290e7f7dcce2@blastwave.org>
next in thread | raw e-mail | index | archive | help
Saw this pop up : rhea$ su - admsys Password: If you want to get a sorted list of all services that are started when FreeBSD boots, enter "service -e". -- Lars Engels <lme@FreeBSD.org> admsys@rhea:~ $ To which I thought "sorted? really?" amalthea# cd amalthea# service -e /etc/rc.d/rctl /etc/rc.d/hostid /etc/rc.d/zpool /etc/rc.d/zvol /etc/rc.d/hostid_save /etc/rc.d/zfsbe /etc/rc.d/zfs /etc/rc.d/cleanvar /etc/rc.d/kldxref /etc/rc.d/ip6addrctl /etc/rc.d/mixer /etc/rc.d/devmatch /etc/rc.d/netif /etc/rc.d/resolv /etc/rc.d/devd /etc/rc.d/motd /etc/rc.d/newsyslog /etc/rc.d/virecover /etc/rc.d/dmesg /etc/rc.d/gptboot /etc/rc.d/syslogd /etc/rc.d/savecore /etc/rc.d/rpcbind /etc/rc.d/mountd /etc/rc.d/nfsd /etc/rc.d/ntpd /etc/rc.d/cron /etc/rc.d/sshd /etc/rc.d/sendmail /etc/rc.d/bgfsck /usr/local/etc/rc.d/smartd amalthea# Nope. That doesn't look sorted. Unless the sorted means "order in which they start" perhaps. So maybe take out the word "sorted". Either that or insert the "started order" as the manpage claims : root@rhea:/usr/src/freebsd-src # diff -u usr.bin/fortune/datfiles/freebsd-tips.orig usr.bin/fortune/datfiles/freebsd-tips --- usr.bin/fortune/datfiles/freebsd-tips.orig 2021-01-15 00:37:37.863506000 +0000 +++ usr.bin/fortune/datfiles/freebsd-tips 2021-01-16 07:46:57.335803000 +0000 @@ -517,7 +517,7 @@ -- Lars Engels <lme@FreeBSD.org> % -If you want to get a sorted list of all services that are started when FreeBSD boots, +If you want to get a list of all services that are started when FreeBSD boots, enter "service -e". -- Lars Engels <lme@FreeBSD.org> root@rhea:/usr/src/freebsd-src # Sorry for being all OCD here. Perhaps it should say sorted in the order in which they were started. Something like that. -- Dennis Clarke RISC-V/SPARC/PPC/ARM/CISC UNIX and Linux spoken GreyBeard and suspenders optional
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f4470fdd-6c20-09de-de76-290e7f7dcce2>