FS#23015 - [netcfg] Provide the ability to activate the last profile used
Attached to Project:
Arch Linux
Opened by Nikos Platis (nplatis) - Wednesday, 23 February 2011, 13:39 GMT
Last edited by Jouke Witteveen (jouke) - Monday, 25 June 2012, 10:58 GMT
Opened by Nikos Platis (nplatis) - Wednesday, 23 February 2011, 13:39 GMT
Last edited by Jouke Witteveen (jouke) - Monday, 25 June 2012, 10:58 GMT
|
Details
It would be useful to be able to automatically activate on
boot the profile(s) that was active during shutdown.
This would be handy if I need to use a profile other than my default one for several days: once I choose it I will only have to switch back to the default profile when I really need to and not upon each boot. This could be exposed by an option "last" (similar to "menu") in rc.conf |
This task depends upon
Closed by Jouke Witteveen (jouke)
Monday, 25 June 2012, 10:58 GMT
Reason for closing: Implemented
Additional comments about closing: 3fcb5
Monday, 25 June 2012, 10:58 GMT
Reason for closing: Implemented
Additional comments about closing: 3fcb5
Comment by
Rémy Oudompheng (remyoudompheng) -
Wednesday, 01 June 2011, 05:34 GMT
Comment by Tom Gundersen (tomegun) -
Wednesday, 01 June 2011, 10:20 GMT
Comment by
Rémy Oudompheng (remyoudompheng) -
Wednesday, 01 June 2011, 18:43 GMT
I guess it's ok to store a semi-persistent file in /var/run on
stop, and add an option in netcfg that uses this file as the
profile list.
It can't be in /var/run as it is not supposed to be persistent on
reboot (and we would like to support it being on tmpfs (symlinked
to /run). However, I guess it could be in /var/lib/netcfg?
That seems ok, it matches the behaviour of /etc/rc.d/alsa