package: Replace 'echo -n' by 'printf'
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Sat, 3 Oct 2015 21:29:57 +0000 (23:29 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 3 Oct 2015 22:56:41 +0000 (00:56 +0200)
commit0f75b2635ee564fbbdb9ea631cf39fa8731d6d6c
tree03d45236e3fe56c314f47aeb91c4b7f86d176079
parent60be80914fa263ecc06e907bc6d1249dbc80018a
package: Replace 'echo -n' by 'printf'

'echo -n' is not a POSIX construct (no flag support), we shoud use
'printf', especially in init script.

This patch was generated by the following command line:
git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/'

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
74 files changed:
package/acpid/S02acpid
package/at/S99at
package/audit/S01auditd
package/bind/S81named
package/busybox/S01logging
package/busybox/S50telnet
package/c-icap/S96cicap
package/chrony/S49chrony
package/connman/S45connman
package/dbus/S30dbus
package/dcron/S90dcron
package/dhcp/S80dhcp-relay
package/dhcp/S80dhcp-server
package/dnsmasq/S80dnsmasq
package/dropbear/S50dropbear
package/ejabberd/S50ejabberd
package/exim/S86exim
package/gpsd/S50gpsd
package/haveged/S21haveged
package/initscripts/init.d/S20urandom
package/initscripts/init.d/S40network
package/input-event-daemon/S99input-event-daemon
package/irqbalance/S13irqbalance
package/kodi/S50kodi
package/lighttpd/S50lighttpd
package/lirc-tools/S25lircd
package/minidlna/S60minidlnad
package/modem-manager/S44modem-manager
package/mongoose/S85mongoose
package/mosquitto/S50mosquitto
package/mpd/S95mpd
package/mysql/S97mysqld
package/neard/S53neard
package/netplug/S29netplug
package/netsnmp/S59snmpd
package/network-manager/S45network-manager
package/nfs-utils/S60nfs
package/nginx/S50nginx
package/ntp/S49ntp
package/ofono/S46ofono
package/olsr/S50olsr
package/openntpd/S49ntp
package/openssh/S50sshd
package/openvmtools/S10vmtoolsd
package/openvpn/S60openvpn
package/portmap/S13portmap
package/postgresql/S50postgresql
package/proftpd/S50proftpd
package/ptpd/S65ptpd
package/ptpd2/S65ptpd2
package/pulseaudio/S50pulseaudio
package/python-web2py/S51web2py
package/radvd/S50radvd
package/redis/S50redis
package/rpcbind/S30rpcbind
package/rpi-userland/S94vcfiled
package/rsyslog/S01logging
package/samba/S91smb
package/samba4/S91smb
package/shairport-sync/S99shairport-sync
package/smstools3/S50smsd
package/squid/S97squid
package/stunnel/S50stunnel
package/supervisor/S99supervisord
package/sysklogd/S01logging
package/targetcli-fb/S50target
package/tftpd/S80tftpd-hpa
package/tinyhttpd/S85tinyhttpd
package/triggerhappy/S10triggerhappy
package/upmpdcli/S99upmpdcli
package/vsftpd/S70vsftpd
package/x11r7/xapp_xdm/S99xdm
toolchain/helpers.mk
toolchain/toolchain-external/toolchain-external.mk