Bug#563223: per-location scripts

2010-01-04 Thread Jose Calhariz
On Tue, Jan 05, 2010 at 07:47:05AM +1300, martin f krafft wrote: > also sprach Jose Calhariz [2010.01.05.0723 > +1300]: > > In my use cases I have find other ways for running code for > > different "LOCATION". > > What do you use? On my laptop I use switchconf to change /etc/network/interfaces

Bug#563223: per-location scripts

2010-01-04 Thread martin f krafft
also sprach Jose Calhariz [2010.01.05.0723 +1300]: > In my use cases I have find other ways for running code for > different "LOCATION". What do you use? > Usually you need to run things before and after the change. Instead > of creating a new directory to store scripts. Why not recycle > bef

Bug#563223: per-location scripts

2010-01-04 Thread Jose Calhariz
On Fri, Jan 01, 2010 at 07:05:04PM +1300, martin f krafft wrote: > Package: switchconf > Version: 0.0.7-1 > Severity: wishlist > > It would be great if switchconf could run per-location scripts, e.g. > using run-parts on /etc/switchconf/scripts/$LOCATION/* > > Ideally, it should pass the old and

Bug#563223: per-location scripts

2009-12-31 Thread martin f krafft
Package: switchconf Version: 0.0.7-1 Severity: wishlist It would be great if switchconf could run per-location scripts, e.g. using run-parts on /etc/switchconf/scripts/$LOCATION/* Ideally, it should pass the old and new location names as $1 and $2, or in the environment. -- System Information: D