Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/dracut/mcored/module-setup.sh.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

mcore-src/trunk/mcore-tools/dracut/module-setup.sh revision 2111 by niro, Thu Jan 2 16:25:48 2014 UTC mcore-src/trunk/mcore-tools/dracut/module-setup.sh.in revision 2238 by niro, Sat Jan 11 00:28:13 2014 UTC
# Line 5  check() { Line 5  check() {
5   . $dracutfunctions   . $dracutfunctions
6    
7   for _program in ifconfig ip route udhcpc iwconfig wpa_supplicant \   for _program in ifconfig ip route udhcpc iwconfig wpa_supplicant \
8   chroot systemd-nspawn vncpasswd mcored; do   chroot systemd-nspawn vncpasswd hostname 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
# Line 82  install() { Line 82  install() {
82   # networking stuff   # networking stuff
83   dracut_install ifconfig ip route udhcpc iwconfig wpa_supplicant chroot systemd-nspawn   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   dracut_install hwinfo vncpasswd
# Line 101  install() { Line 102  install() {
102   inst /etc/ssl/private/mcored.key   inst /etc/ssl/private/mcored.key
103   inst_dir /var/lib/mcored   inst_dir /var/lib/mcored
104   inst /etc/conf.d/mcored   inst /etc/conf.d/mcored
105   inst /etc/mcore/config.rc   inst /etc/mcore/mcore.conf
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

Legend:
Removed from v.2111  
changed lines
  Added in v.2238