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 2069 by niro, Wed May 8 14:20:21 2013 UTC revision 2114 by niro, Thu Jan 2 16:27:51 2014 UTC
# Line 4  check() { Line 4  check() {
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 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 79  install() { Line 80  install() {
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   dracut_install hwinfo vncpasswd
# Line 104  install() { Line 106  install() {
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

Legend:
Removed from v.2069  
changed lines
  Added in v.2114