summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/extra/etc/functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/extra/etc/functions.sh b/package/base-files/extra/etc/functions.sh
index 4d225b882..6563c1d0e 100644
--- a/package/base-files/extra/etc/functions.sh
+++ b/package/base-files/extra/etc/functions.sh
@@ -55,7 +55,7 @@ add_service() {
add_rcconf() {
rcconf_exists ${2-$1} || {
echo "adding service ${2-$1} to /etc/rc.conf"
- printf '%s\t\t# %s\n' "${2:-$1}=${3:-NO}" "$1" \
+ printf '%s="%s"\t\t# %s\n' "${2:-$1}" "${3:-NO}" "$1" \
>>$IPKG_INSTROOT/etc/rc.conf
}
}