Distribution Release: IPFire 2.9 Core 47


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Distribution Release: IPFire 2.9 Core 47
# 1  
Old 03-08-2011
Distribution Release: IPFire 2.9 Core 47

Source...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
Bootloader::Core::LILO(3)				User Contributed Perl Documentation				 Bootloader::Core::LILO(3)

NAME
Bootloader::Core::LILO - LILO library for bootloader configuration PREFACE
This package is the LILO library of the bootloader configuration SYNOPSIS
use Bootloader::Core::LILO; "$obj_ref = Bootloader::Core::LILO->new ();" "$files_ref = Bootloader::Core::LILO->ListFiles ();" "$status = Bootloader::Core::LILO->ParseLines (\%files, $avoid_reading_device_map);" "$files_ref = Bootloader::Core::LILO->CreateLines ();" "$status = Bootloader::Core::LILO->UpdateBootloader ($avoid_init);" "$status = Bootloader::Core::LILO->InitializeBootloader ();" DESCRIPTION
"$obj_ref = Bootloader::Core::LILO->new ();" Creates an instance of the Bootloader::Core::LILO class. "$files_ref = Bootloader::Core::LILO->ListFiles ();" Returns the list of the configuration files of the bootloader Returns undef on fail "$status = Bootloader::Core::LILO->ParseLines (\%files, $avoid_reading_device_map);" Parses the contents of all files and stores the settings in the internal structures. As first argument, it takes a hash reference, where keys are file names and values are references to lists, each member is one line of the file. As second argument, it takes a boolean flag that, if set to a true value, causes it to skip updating the internal device_map information. Returns undef on fail, defined nonzero value on success. "$files_ref = Bootloader::Core::LILO->CreateLines ();" creates contents of all files from the internal structures. Returns a hash reference in the same format as argument of ParseLines on success, or undef on fail. "$status = Bootloader::Core::LILO->UpdateBootloader ($avoid_init);" Updates the settings in the system. Backs original configuration files up and replaces them with the ones with the '.new' suffix. Also performs operations needed to make the change effect (run '/sbin/lilo'). Returns undef on fail, defined nonzero value on success. "$status = Bootloader::Core::LILO->InitializeBootloader ();" Initializes the firmware to boot the bootloader. Returns undef on fail, defined nonzero value otherwise perl v5.12.1 2009-08-03 Bootloader::Core::LILO(3)