/[baselayout]/branches/baselayout-1_12/sbin/functions.sh
Gentoo

Diff of /branches/baselayout-1_12/sbin/functions.sh

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

Revision 2046 Revision 2047
639# 639#
640# EXAMPLE: if is_xenU_sys ; then ... 640# EXAMPLE: if is_xenU_sys ; then ...
641# 641#
642is_xenU_sys() { 642is_xenU_sys() {
643 [[ ! -d /proc/xen ]] && return 1 643 [[ ! -d /proc/xen ]] && return 1
644 [[ ! -e /proc/xen/capabilities ]] && return 0 644 [[ ! -r /proc/xen/capabilities ]] && return 1
645 grep -vq "control_d" /proc/xen/capabilities 645 grep -q "control_d" /proc/xen/capabilities && return 1
646 return 0
646} 647}
647 648
648# bool get_mount_fstab(path) 649# bool get_mount_fstab(path)
649# 650#
650# return the parameters to pass to the mount command generated from fstab 651# return the parameters to pass to the mount command generated from fstab

Legend:
Removed from v.2046  
changed lines
  Added in v.2047

  ViewVC Help
Powered by ViewVC 1.1.20