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 2081 by niro, Fri May 10 11:41:16 2013 UTC revision 2082 by niro, Fri May 10 13:13:37 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; 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
# 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    
86   # mcored config stuff   # mcored config stuff

Legend:
Removed from v.2081  
changed lines
  Added in v.2082