mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-26 19:47:17 +00:00
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>
This commit is contained in:
@@ -36,12 +36,12 @@ do_configure() {
|
|||||||
rm -rf stunnel squid sarg pptp-client pptp-server jabber openslp sentry cluster-* vgetty burner heartbeat
|
rm -rf stunnel squid sarg pptp-client pptp-server jabber openslp sentry cluster-* vgetty burner heartbeat
|
||||||
|
|
||||||
# Adjust configs
|
# Adjust configs
|
||||||
mv init/config-debian-linux init/config-generic-linux
|
[ -f init/config-debian-linux ] && mv init/config-debian-linux init/config-generic-linux
|
||||||
sed -i "s/shutdown_command=.*/shutdown_command=poweroff/" init/config-generic-linux
|
sed -i "s/shutdown_command=.*/shutdown_command=poweroff/" init/config-generic-linux
|
||||||
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
|
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
|
||||||
echo "excludefs=devpts,devtmpfs,usbdevfs,proc,tmpfs,sysfs,debugfs" >> mount/config-generic-linux
|
echo "excludefs=devpts,devtmpfs,usbdevfs,proc,tmpfs,sysfs,debugfs" >> mount/config-generic-linux
|
||||||
|
|
||||||
mv exports/config-debian-linux exports/config-generic-linux
|
[ -f exports/config-debian-linux ] && mv exports/config-debian-linux exports/config-generic-linux
|
||||||
sed -i "s/killall -HUP rpc.nfsd && //" exports/config-generic-linux
|
sed -i "s/killall -HUP rpc.nfsd && //" exports/config-generic-linux
|
||||||
sed -i "s/netstd_nfs/nfsserver/g" exports/config-generic-linux
|
sed -i "s/netstd_nfs/nfsserver/g" exports/config-generic-linux
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user