diff options
Diffstat (limited to 'meta-webserver')
-rw-r--r-- | meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb b/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb index 8822b92fb..a561de2c7 100644 --- a/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb +++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb | |||
@@ -65,6 +65,9 @@ do_configure() { | |||
65 | sed -i "s/find_pid_command=.*/find_pid_command=pidof NAME/" config-generic-linux | 65 | sed -i "s/find_pid_command=.*/find_pid_command=pidof NAME/" config-generic-linux |
66 | } | 66 | } |
67 | 67 | ||
68 | WEBMIN_LOGIN ?= "admin" | ||
69 | WEBMIN_PASSWORD ?= "password" | ||
70 | |||
68 | do_install() { | 71 | do_install() { |
69 | install -d ${D}${sysconfdir} | 72 | install -d ${D}${sysconfdir} |
70 | install -d ${D}${sysconfdir}/webmin | 73 | install -d ${D}${sysconfdir}/webmin |
@@ -92,8 +95,8 @@ do_install() { | |||
92 | export real_os_type="${DISTRO_NAME}" | 95 | export real_os_type="${DISTRO_NAME}" |
93 | export real_os_version="${DISTRO_VERSION}" | 96 | export real_os_version="${DISTRO_VERSION}" |
94 | export port=10000 | 97 | export port=10000 |
95 | export login=admin | 98 | export login=${WEBMIN_LOGIN} |
96 | export password=password | 99 | export password=${WEBMIN_PASSWORD} |
97 | export ssl=0 | 100 | export ssl=0 |
98 | export atboot=1 | 101 | export atboot=1 |
99 | export no_pam=1 | 102 | export no_pam=1 |