On Tue, 2014-05-13 at 19:42 +0100, David Goodenough wrote:
> On Tuesday 13 May 2014 11:06:10 Russ Allbery wrote:
> > service foo <action> works across Linux distributions, with or without
> > systemd, and does the right thing.
> The big shame with service is that tab completion does not work properly.
In what way does it not work?
adam@wheezy:~$ service <tab><tab>
acpid checkroot-bootclean.sh hdapsd motd
pulseaudio speech-dispatcher
acpi-fakekey checkroot.sh hdparm
mountall-bootclean.sh rc stop-bootlogd
acpi-support console-setup hostname.sh
mountall.sh rc.local stop-bootlogd-single
alsa-utils cpufrequtils hwclock.sh
mountdevsubfs.sh rcS sudo
anacron cron kbd
mountkernfs.sh README thinkfan
apmd cryptdisks kerneloops
mountnfs-bootclean.sh reboot udev
atd cryptdisks-early keyboard-setup
mountnfs.sh rmnologin udev-mtab
avahi-daemon cups killprocs mtab.sh
rpcbind umountfs
binfmt-support dbus kmod
networking rsync umountnfs.sh
bluetooth exim4 libvirt-bin
network-manager rsyslog umountroot
bootlogd fancontrol libvirt-guests
nfs-common saned unattended-upgrades
bootlogs fuse lm-sensors openvpn
sendsigs urandom
bootmisc.sh gdm3 loadcpufreq
pppd-dns single x11-common
checkfs.sh halt minissdpd procps
skeleton
adam@wheezy:~$ service f<tab>
fancontrol fuse
adam@wheezy:~$ service f
(It could do with skipping non-executable scripts, but...)
Regards,
Adam
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
https://lists.debian.org/[email protected]