forked from extern/shorewall_code
Another fix to configure.pl from Matt Darfeuille
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
532d5c7e50
commit
5bc471ff03
@ -107,8 +107,8 @@ if ( defined $vendor ) {
|
|||||||
if ( -f '/etc/debian_version' ) {
|
if ( -f '/etc/debian_version' ) {
|
||||||
$vendor = 'debian';
|
$vendor = 'debian';
|
||||||
if ( -l '/sbin/init' ) {
|
if ( -l '/sbin/init' ) {
|
||||||
if ( readlink '/sbin/init' =~ /systemd/ ) {
|
if ( readlink( '/sbin/init' ) =~ /systemd/ ) {
|
||||||
$rcfilename = 'debian.systemd';
|
$rcfilename = 'shorewallrc.debian.systemd';
|
||||||
} else {
|
} else {
|
||||||
$rcfilename = 'shorewallrc.debian.sysvinit';
|
$rcfilename = 'shorewallrc.debian.sysvinit';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user