4 |
local _program |
local _program |
5 |
. $dracutfunctions |
. $dracutfunctions |
6 |
|
|
7 |
for _program in ifconfig ip route udhcpc; do |
for _program in ifconfig ip route udhcpc iwconfig wpa_supplicant \ |
8 |
|
chroot systemd-nspawn vncpasswd mcored; do |
9 |
if ! type -P $_program >/dev/null; then |
if ! type -P $_program >/dev/null; then |
10 |
derror "Could not find program \"$_program\" required by mcored." |
derror "Could not find program \"$_program\" required by mcored." |
11 |
return 1 |
return 1 |
80 |
#egrep '^lp:' /etc/group >> "$initdir/etc/group" |
#egrep '^lp:' /etc/group >> "$initdir/etc/group" |
81 |
|
|
82 |
# networking stuff |
# networking stuff |
83 |
dracut_install ifconfig ip route udhcpc iwconfig wpa_supplicant |
dracut_install ifconfig ip route udhcpc iwconfig wpa_supplicant chroot systemd-nspawn |
84 |
inst /usr/share/udhcpc/default.script |
inst /usr/share/udhcpc/default.script |
85 |
|
inst_simple "$moddir/net-lib.sh" /lib/net-lib.sh |
86 |
|
|
87 |
# mcored config stuff |
# mcored config stuff |
88 |
dracut_install hwinfo vncpasswd xml |
dracut_install hwinfo vncpasswd |
89 |
|
|
90 |
# mcored |
# mcored |
91 |
# install all busybox modules |
# install all busybox modules |
106 |
inst /etc/mcoredpasswd |
inst /etc/mcoredpasswd |
107 |
for __file in $(find /usr/lib/mcored/include -type f) |
for __file in $(find /usr/lib/mcored/include -type f) |
108 |
do |
do |
109 |
inst ${__file} |
inst ${__file} |
110 |
done |
done |
111 |
inst /usr/lib/mcored/mcored |
inst /usr/lib/mcored/mcored |
112 |
inst /usr/lib/mcored/mcore-generate-certificate |
inst /usr/lib/mcored/mcore-generate-certificate |
113 |
inst /usr/lib/mcored/mcorepasswd |
inst /usr/lib/mcored/mcorepasswd |
|
inst /usr/lib/mcored/start-daemon.sh |
|
114 |
inst /usr/lib/mcored/VERSION |
inst /usr/lib/mcored/VERSION |
115 |
inst_symlink /usr/sbin/mcored |
inst_symlink /usr/sbin/mcored |
116 |
inst_symlink /usr/bin/mcorepasswd |
inst_symlink /usr/bin/mcorepasswd |