You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alberto Bursi 8496659eb4 base-files: fix message of initscript wrapper
currently (after blogic's edit to my commit) it prints like this:

root@lede:/# service aa
aa does not exist. the following services are available :adblock       dnsmasq       gpio_switch   rpcd          system
boot          done          led           sqm           uhttpd
crelay        dropbear      log           sysctl        umount
cron          firewall      network       sysfixtime    urandom_seed
ddns          fstab         odhcpd        sysntpd

which looks pretty bad, and is even worse if someone writes only "service" without arguments, as it will print " does not exist. " which is confusing.

with this commit it looks like this:

root@lede:/# service
service "" not found, the following services are available:
adblock       dnsmasq       gpio_switch   rpcd          system
boot          done          led           sqm           uhttpd
crelay        dropbear      log           sysctl        umount
cron          firewall      network       sysfixtime    urandom_seed
ddns          fstab         odhcpd        sysntpd

Yes there is some play with " and ', it is to display "name" or just "" if no service name is entered (like in the example).

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
8 years ago
..
board.d base-files: remove default /etc/config/network, generate it via board.d instead 9 years ago
hotplug.d/net sysctl: read settings from /etc/sysctl.d/*.conf 9 years ago
init.d base-files, mac80211, broadcom-wl: wifi detection and configuration 8 years ago
iproute2 base-files: add netifd's default prelocal table to /etc/iproute2/rt_tables 9 years ago
rc.button base-files: Ensure reset only works if an overlay exists 8 years ago
sysctl.d sysctl: read settings from /etc/sysctl.d/*.conf 9 years ago
uci-defaults treewide: remove bad local shell variable declarations 8 years ago
banner build: adjust version number handling 8 years ago
banner.failsafe failsafe-mode: print short help on commandline 10 years ago
device_info base-files: add URL option for OEM manufacturer info 9 years ago
diag.sh base-files: make diag.sh stub working in bash 15 years ago
fstab base-files: remove fstab symlink 8 years ago
group base-files: add an ftp group as well 13 years ago
hosts base-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2 9 years ago
inittab image / basefiles: make console password configurable 8 years ago
openwrt_release build: adjust version number handling 8 years ago
openwrt_version build: adjust version number handling 8 years ago
os-release base-files: Add standard os-release file 8 years ago
passwd base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935. 13 years ago
preinit preinit: use only the image config options 8 years ago
profile base-files: fix message of initscript wrapper 8 years ago
protocols base-files: add DCCP to /etc/protocols 9 years ago
rc.common procd: Allow initscripts to start one daemon instance at a time 8 years ago
rc.local base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts 15 years ago
services Add munin to /etc/services 12 years ago
shadow the root password should be empty for real, like before 11 years ago
shells rename default/ to files/ 18 years ago
sysctl.conf base-files: revert to default ECN settings 9 years ago
sysupgrade.conf base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles 14 years ago