mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
01d6f0ad11
Obtained patches from James (see PR) Further enhancements from me: - make port portlint clean - remove webmins behaviour, to write its startup code to /etc/rc.local a) this behaviour is discouraged now in FreeBSD b) it blindly appended the startup code at the end of rc.local ... my last line is exit 0, so startup code never has been executed. - wrote simple startup script that will be installed in our usual place. did that PREFIX-clean(tm) - added FreeBSD 4.1 and 4.2 to the os-list ... PR: 22312 Submitted by: "James E. Housley" <jeh@FreeBSD.org>
10 lines
151 B
Bash
10 lines
151 B
Bash
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
if [ "x$1" = "x" -o "x$1" = "xstart" ]; then
|
|
if [ -x !!PREFIX!!/etc/webmin/start ]; then
|
|
!!PREFIX!!/etc/webmin/start
|
|
fi
|
|
fi
|