Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/hwdetection.global.class.in

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

revision 2234 by niro, Fri Jan 10 23:52:21 2014 UTC revision 2235 by niro, Sat Jan 11 00:14:31 2014 UTC
# Line 13  hwinfo() Line 13  hwinfo()
13   yes|y|true|1) use_sudo=sudo ;;   yes|y|true|1) use_sudo=sudo ;;
14   esac   esac
15    
16   ${use_sudo} /usr/sbin/hwinfo $@   ${use_sudo} @@SBINDIR@@/hwinfo $@
17  }  }
18    
19  # get_hwinfo $hw_item  # get_hwinfo $hw_item
# Line 247  create_initrd() Line 247  create_initrd()
247   local modules   local modules
248   # enabled framebuffer modules as default   # enabled framebuffer modules as default
249   local framebuffer=1   local framebuffer=1
250   local uvesafb_config="/etc/modprobe.d/uvesafb.conf"   local uvesafb_config="@@SYSCONFDIR@@/modprobe.d/uvesafb.conf"
251    
252   # very basic getops   # very basic getops
253   for i in $*   for i in $*
# Line 263  create_initrd() Line 263  create_initrd()
263    
264   [[ -z ${initrd} ]] && initrd="/boot/initrd-$(uname -r).img"   [[ -z ${initrd} ]] && initrd="/boot/initrd-$(uname -r).img"
265   [[ -z ${kernel} ]] && kernel="$(uname -r)"   [[ -z ${kernel} ]] && kernel="$(uname -r)"
266   [[ -z ${config} ]] && config="/etc/conf.d/mkinitrd"   [[ -z ${config} ]] && config="@@CONFDDIR@@/mkinitrd"
267    
268   if [[ ! -z ${INSTALL_ROOT} ]]   if [[ ! -z ${INSTALL_ROOT} ]]
269   then   then

Legend:
Removed from v.2234  
changed lines
  Added in v.2235