Unroll previous changes
This commit is contained in:
parent
68042ecec6
commit
574c5a39b4
@ -37,17 +37,12 @@ system("find . -print | grep -v \"^prototype\" | pkgproto >>prototype");
|
||||
open(PROTO, ">> prototype");
|
||||
print PROTO "i postinstall=./postinstall\n";
|
||||
print PROTO "i preremove=./preremove\n";
|
||||
if (-x "/usr/bin/systemctl") {
|
||||
print PROTO "f none /etc/systemd/system/webmin.service=webmin-systemd 0755 root root\n";
|
||||
}
|
||||
else {
|
||||
print PROTO "f none /etc/init.d/webmin=webmin-init 0755 root sys\n";
|
||||
print PROTO "l none /etc/rc3.d/S99webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rc0.d/K10webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rc1.d/K10webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rc2.d/K10webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rcS.d/K10webmin=/etc/init.d/webmin\n";
|
||||
}
|
||||
print PROTO "f none /etc/init.d/webmin=webmin-init 0755 root sys\n";
|
||||
print PROTO "l none /etc/rc3.d/S99webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rc0.d/K10webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rc1.d/K10webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rc2.d/K10webmin=/etc/init.d/webmin\n";
|
||||
print PROTO "l none /etc/rcS.d/K10webmin=/etc/init.d/webmin\n";
|
||||
close(PROTO);
|
||||
print ".. done\n\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user