Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#6276 - Laptop hardware profile management

Attached to Project: Arch Linux
Opened by Yuri Chernyavsky (yurac) - Thursday, 25 January 2007, 10:01 GMT
Last edited by Greg (dolby) - Tuesday, 17 June 2008, 10:49 GMT
Task Type Feature Request
Category System
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

I have a laptop and I use it at three different places with different hardware
configuration. For me the option of selecting a network profile is not enough.
For example, I need to load different modules during the boot process.
What I do, and I think it can be useful for other laptop users is the following:

I modified /etc/rc.sysinit so that at the beginning it shows a menu for choosing a profile. Assume that a profile 'home' is chosen. Then it symlinks
/etc/rc.conf->/etc/rc.conf.home.
Then different hardware profiles can be used by creating a rc.conf.profile
file for each profile.

The problem is that I have to modify rc.sysinit each time I upgrade initscripts.
Maybe it can be a good idea to add the support for such feature in rc.sysinit or some other place?

Before using Arch, I used gentoo, and there was a package hprofile there that
handled this issue. however, it was a bit awkward.
This task depends upon

Closed by  Greg (dolby)
Tuesday, 17 June 2008, 10:49 GMT
Reason for closing:  Won't implement
Comment by Roman Kyrylych (Romashka) - Saturday, 09 February 2008, 15:29 GMT
Could you provide a patch (preferably in git format) for the latest initscripts?
http://projects.archlinux.org/git/?p=initscripts.git
Comment by James Rayner (iphitus) - Wednesday, 26 March 2008, 11:20 GMT
This is a minor thing, that very few will ever need, just put it in /etc/rc.local so you don't have to modify configs, or create your own rc.d daemon

Loading...