summaryrefslogtreecommitdiffstats
path: root/autoscripts/preinst-init-chmod
blob: 4001b827e9a2632623b4d9ae983aa5edf74c0605 (plain)
1
2
3
if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/#SCRIPT#" ] ; then
	chmod +x "/etc/init.d/#SCRIPT#" >/dev/null || true
fi