Skip to content
Commit 5682ba93 authored by Thomas Claveirole's avatar Thomas Claveirole Committed by Thomas Petazzoni
Browse files

package/netplug: fix quoting of ${NETWORKING} in init script



Since 4adaa581, S29netplug looks for
/etc/default/network instead of /etc/sysconfig/network.  When this
file exists but does not define $NETWORKING, the script fails on line
29 with something like:

/etc/init.d/S29netplug: 29: [: =: unexpected operator

Fix quoting so this error no longer happens.

Signed-off-by: default avatarThomas Claveirole <thomas.claveirole@green-communications.fr>
[Thomas: keep double quotes around "no", keep curly braces when
referencing the variable.]
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@bootlin.com>
parent 446a6f91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment