[Pkg-sysvinit-devel] Bug#705254: Bug#705254: Provide "is-enabled" command for update-rc.d

2015-04-29 Thread Petter Reinholdtsen
[Borut Mrak] > IMO, no links == disabled (I know they get recreated on upgrades, but > that is out of scope for this feature). Disabled is the same as only stop symlinks (ie K* symlinks). This is what 'update-rc.d disable' do. No links just mean someone messed up and the change will be reverted

[Pkg-sysvinit-devel] Bug#705254: Bug#705254: Provide "is-enabled" command for update-rc.d

2015-04-29 Thread Henrique de Moraes Holschuh
On Mon, Apr 27, 2015, at 13:19, Borut Mrak wrote: > I'm working on update-rc.d to add this feature (got bitten by this using saltstack service states on Jessie w/ systemd). > > I simplified Michael's idea a little bit (I think). > > Instead of checking if links correspond to Defau