summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-webadmin
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2014-07-22 16:25:35 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-07-24 15:31:50 +0200
commitc1c5442ee4c0100e8b368ed58efb13c796c5dc05 (patch)
treeb3dbe396570618ddb13e0dcbde3faaf6079586d4 /meta-webserver/recipes-webadmin
parentf06154f640cd6d8432aa2e6f3de97488ce4561da (diff)
downloadmeta-openembedded-c1c5442ee4c0100e8b368ed58efb13c796c5dc05.tar.gz
webmin: make reconfigure webmin be able to work
when move a file, test if this file exist or not Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-webadmin')
-rw-r--r--meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb4
1 files changed, 2 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 0f8781f01..91ec5d752 100644
--- a/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb
+++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.620.bb
@@ -36,12 +36,12 @@ do_configure() {
36 rm -rf stunnel squid sarg pptp-client pptp-server jabber openslp sentry cluster-* vgetty burner heartbeat 36 rm -rf stunnel squid sarg pptp-client pptp-server jabber openslp sentry cluster-* vgetty burner heartbeat
37 37
38 # Adjust configs 38 # Adjust configs
39 mv init/config-debian-linux init/config-generic-linux 39 [ -f init/config-debian-linux ] && mv init/config-debian-linux init/config-generic-linux
40 sed -i "s/shutdown_command=.*/shutdown_command=poweroff/" init/config-generic-linux 40 sed -i "s/shutdown_command=.*/shutdown_command=poweroff/" init/config-generic-linux
41 echo "exclude=bootmisc.sh,single,halt,reboot,hostname.sh,modutils.sh,mountall.sh,mountnfs.sh,networking,populate-volatile.sh,rmnologin.sh,save-rtc.sh,umountfs,umountnfs.sh,hwclock.sh,checkroot.sh,banner.sh,udev,udev-cache,devpts.sh,psplash.sh,sendsigs,fbsetup,bootlogd,stop-bootlogd,sysfs.sh,syslog,syslog.busybox,urandom,webmin,functions.initscripts,read-only-rootfs-hook.sh" >> init/config-generic-linux 41 echo "exclude=bootmisc.sh,single,halt,reboot,hostname.sh,modutils.sh,mountall.sh,mountnfs.sh,networking,populate-volatile.sh,rmnologin.sh,save-rtc.sh,umountfs,umountnfs.sh,hwclock.sh,checkroot.sh,banner.sh,udev,udev-cache,devpts.sh,psplash.sh,sendsigs,fbsetup,bootlogd,stop-bootlogd,sysfs.sh,syslog,syslog.busybox,urandom,webmin,functions.initscripts,read-only-rootfs-hook.sh" >> init/config-generic-linux
42 echo "excludefs=devpts,devtmpfs,usbdevfs,proc,tmpfs,sysfs,debugfs" >> mount/config-generic-linux 42 echo "excludefs=devpts,devtmpfs,usbdevfs,proc,tmpfs,sysfs,debugfs" >> mount/config-generic-linux
43 43
44 mv exports/config-debian-linux exports/config-generic-linux 44 [ -f exports/config-debian-linux ] && mv exports/config-debian-linux exports/config-generic-linux
45 sed -i "s/killall -HUP rpc.nfsd && //" exports/config-generic-linux 45 sed -i "s/killall -HUP rpc.nfsd && //" exports/config-generic-linux
46 sed -i "s/netstd_nfs/nfsserver/g" exports/config-generic-linux 46 sed -i "s/netstd_nfs/nfsserver/g" exports/config-generic-linux
47 47