Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 923441 | Differences between
and this patch

Collapse All | Expand All

(-)Shorewall6.orig/configure (-2 / +2 lines)
Lines 134-140 if [ -z "$vendor" ]; then Link Here
134
	*)
134
	*)
135
	    if [ -f /etc/debian_version ]; then
135
	    if [ -f /etc/debian_version ]; then
136
		params[HOST]=debian
136
		params[HOST]=debian
137
		ls -l /sbin/init | fgrep -q systemd &&  rcfile=shorewallrc.debian.systemd || rcfile=shorewallrc.debian.sysvinit
137
		ls -l /sbin/init | grep -F -q systemd &&  rcfile=shorewallrc.debian.systemd || rcfile=shorewallrc.debian.sysvinit
138
	    elif [ -f /etc/altlinux-release ] ; then
138
	    elif [ -f /etc/altlinux-release ] ; then
139
		params[HOST]=alt
139
		params[HOST]=alt
140
	    elif [ -f /etc/redhat-release ]; then
140
	    elif [ -f /etc/redhat-release ]; then
Lines 163-169 else Link Here
163
    if [ $vendor = linux ]; then
163
    if [ $vendor = linux ]; then
164
	rcfile=shorewallrc.default;
164
	rcfile=shorewallrc.default;
165
    elif [ $vendor = debian -a -f /etc/debian_version ]; then
165
    elif [ $vendor = debian -a -f /etc/debian_version ]; then
166
	ls -l /sbin/init | fgrep -q systemd && rcfile=shorewallrc.debian.systemd || rcfile=shorewallrc.debian.sysvinit
166
	ls -l /sbin/init | grep -F -q systemd && rcfile=shorewallrc.debian.systemd || rcfile=shorewallrc.debian.sysvinit
167
    else
167
    else
168
	rcfile=shorewallrc.$vendor
168
	rcfile=shorewallrc.$vendor
169
    fi
169
    fi

Return to bug 923441