From aaea4241bd7c846036c8830e810a14895a02c9ac Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 02 Jun 2014 23:43:58 -0400 Subject: Conditionally disable service starting. --- (limited to 'busybox.pkg') diff --git a/busybox.pkg/postinst b/busybox.pkg/postinst index 99b8006..c499f03 100755 --- a/busybox.pkg/postinst +++ b/busybox.pkg/postinst @@ -5,6 +5,13 @@ if [ "x${1}" = 'xconfigure' ]; then update-alternatives --install "${link}" "${name}" \ "${link}.busybox" "${prio}" done /etc/rc.policy + else + printf 'enabled' >/etc/rc.policy + fi + fi if [ -e /usr/share/busybox/init-scripts ]; then while read script; do "/etc/init.d/${script}" enable -- cgit v0.9.1