Magellan Linux

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

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

revision 2066 by niro, Wed May 8 14:15:35 2013 UTC revision 2080 by niro, Fri May 10 11:41:16 2013 UTC
# Line 4  check() { Line 4  check() {
4   local _program   local _program
5   . $dracutfunctions   . $dracutfunctions
6    
7   for _program in ifconfig ip route udhcpc xml; do   for _program in ifconfig ip route udhcpc; do
8   if ! type -P $_program >/dev/null; then   if ! type -P $_program >/dev/null; then
9   derror "Could not find program \"$_program\" required by mcored."   derror "Could not find program \"$_program\" required by mcored."
10   return 1   return 1
# Line 83  install() { Line 83  install() {
83   inst /usr/share/udhcpc/default.script   inst /usr/share/udhcpc/default.script
84    
85   # mcored config stuff   # mcored config stuff
86   dracut_install hwinfo vncpasswd xml   dracut_install hwinfo vncpasswd
87    
88   # mcored   # mcored
89   # install all busybox modules   # install all busybox modules
# Line 104  install() { Line 104  install() {
104   inst /etc/mcoredpasswd   inst /etc/mcoredpasswd
105   for __file in $(find /usr/lib/mcored/include -type f)   for __file in $(find /usr/lib/mcored/include -type f)
106   do   do
107   inst ${__file}   inst ${__file}
108   done   done
109   inst /usr/lib/mcored/mcored   inst /usr/lib/mcored/mcored
110   inst /usr/lib/mcored/mcore-generate-certificate   inst /usr/lib/mcored/mcore-generate-certificate

Legend:
Removed from v.2066  
changed lines
  Added in v.2080