• Alessandro Rubini's avatar
    /etc/init.d/lldpd.sh: fix another bashism · 4a47cafe
    Alessandro Rubini authored
    [Thanks a lot to Enkhbold Ochirsuren of GSI who traced back a strange
    behaviour to the "printf" incompatibility].
    
    This removes "printf -v <outputvar> <format> ..." which is only
    available in bash.
    
    These needless incompatible extensions to standard commands are a
    source of endless headaches. New features must spit an error when
    unavailable (i.e., bash people should add vprintf, not break printf,
    imho)
    
    In this case, my previous "fix" to this file was incomplete, because
    I fixed a bashism but didn't see this other one.
    
    Also, this changes the shebang to call sh (which is already done by rcS:
    only the interactive execution now uses sh instead of bash).
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    4a47cafe
Name
Last commit
Last update
..
dot-config Loading commit data...
host_tools Loading commit data...
include Loading commit data...
libsdb Loading commit data...
libwr Loading commit data...
mini-rpc Loading commit data...
ppsi @ a56a105f
rootfs_override Loading commit data...
snmpd Loading commit data...
tools Loading commit data...
wrs_watchdog Loading commit data...
wrsw_hal Loading commit data...
wrsw_rtud Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
devices.tar.gz Loading commit data...