You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.2 KiB
47 lines
1.2 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../webmin/webmin.conf |
|
# Copyright (C) 2008 The OpenSDE Project |
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This program is free software; you can redistribute it and/or modify |
|
# it under the terms of the GNU General Public License as published by |
|
# the Free Software Foundation; version 2 of the License. A copy of the |
|
# GNU General Public License can be found in the file COPYING. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
pkg_webmin_main() { |
|
#cd $root/$prefix |
|
|
|
export config_dir=$sysconfdir |
|
export var_dir=/var/webmin |
|
export perldef=/usr/bin/perl |
|
|
|
export os_type="generic-linux" |
|
export real_os_type="generic-linux" |
|
export real_os_version="2.4" |
|
|
|
export port=10000 |
|
export login="admin" |
|
export password= |
|
|
|
export ssl=0 |
|
pkginstalled openssl && export ssl=1 |
|
|
|
export prefix |
|
export atboot=1 |
|
export nostart=1 |
|
export makeboot=0 |
|
|
|
./setup.sh /opt/webmin |
|
} |
|
|
|
custmain=pkg_webmin_main |
|
sysconfdir=$root/etc/webmin |
|
prefix=opt/webmin |
|
set_confopt |
|
|
|
|