summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-06-03 11:45:21 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-06-03 11:45:21 (EDT)
commit0d7d1fe00d54726b4ab0a1c38f91213c00eef171 (patch)
tree097bbd8b8b851f517e8b987ac1032aa88cc1fa58
parent8bb39b24d81cf1fa7dacf2f79e2583328ba00c3c (diff)
busybox.pkg/postinst: Add "\n" to /etc/rc.policy.
-rwxr-xr-xbusybox.pkg/postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst
index 6de6916..b23c6b7 100755
--- a/busybox.pkg/postinst
+++ b/busybox.pkg/postinst
@@ -7,9 +7,9 @@ if [ "x${1}" = 'xconfigure' ]; then
done </usr/share/busybox/alternatives
if ! [ -f /etc/rc.policy ]; then
if [ "x$(cat /etc/proteanos_plat)" = 'xdev' ]; then
- printf 'disabled' >/etc/rc.policy
+ printf 'disabled\n' >/etc/rc.policy
else
- printf 'enabled' >/etc/rc.policy
+ printf 'enabled\n' >/etc/rc.policy
fi
fi
if [ -f /usr/share/busybox/init-scripts ]; then