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

revision 2042 by niro, Wed Apr 17 14:20:02 2013 UTC revision 2066 by niro, Wed May 8 14:15:35 2013 UTC
# Line 4  check() { Line 4  check() {
4   local _program   local _program
5   . $dracutfunctions   . $dracutfunctions
6    
7   for _program in ifconfig ip mysql route udhcpc xml; do   for _program in ifconfig ip route udhcpc xml; 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 alx."   derror "Could not find program \"$_program\" required by mcored."
10   return 1   return 1
11   fi   fi
12   done   done
# Line 82  install() { Line 82  install() {
82   dracut_install ifconfig ip route udhcpc iwconfig wpa_supplicant   dracut_install ifconfig ip route udhcpc iwconfig wpa_supplicant
83   inst /usr/share/udhcpc/default.script   inst /usr/share/udhcpc/default.script
84    
85   # alxconfig stuff   # mcored config stuff
86   dracut_install hwinfo mysql vncpasswd xml   dracut_install hwinfo vncpasswd xml
87    
88   # mcored   # mcored
89   # install all busybox modules   # install all busybox modules
# Line 110  install() { Line 110  install() {
110   inst /usr/lib/mcored/mcore-generate-certificate   inst /usr/lib/mcored/mcore-generate-certificate
111   inst /usr/lib/mcored/mcorepasswd   inst /usr/lib/mcored/mcorepasswd
112   inst /usr/lib/mcored/start-daemon.sh   inst /usr/lib/mcored/start-daemon.sh
113     inst /usr/lib/mcored/VERSION
114   inst_symlink /usr/sbin/mcored   inst_symlink /usr/sbin/mcored
115   inst_symlink /usr/bin/mcorepasswd   inst_symlink /usr/bin/mcorepasswd
116    

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