[Bug 298136] [NEW] switconf provides no hooks for before and after scripts to know new location

Andrew andrew.rw.robinson at gmail.com
Fri Nov 14 17:55:49 UTC 2008


Public bug reported:

Binary package hint: switchconf

The switchconf memfile "/var/lib/misc/switchconf.lastcfg", is not
updated until the end of the script. This means that scripts in before.d
and after.d do not know the new configuration name.

It would be helpful to either
(1) have a "/var/lib/misc/switchconf.newcfg" written at the start of the script, and deleted at the end,
(2) pass in the name as the first argument to the scripts or
(3) have the new config name as an environment variable for the scripts to reference

** Affects: switchconf (Ubuntu)
     Importance: Undecided
         Status: New

-- 
switconf provides no hooks for before and after scripts to know new location
https://bugs.launchpad.net/bugs/298136
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list