Re: systemd and variable network (help needed)

2016-01-07 Thread deloptes
another example perl -pi -e "s/^ServerName .*$/ServerName $HOME_SERVER_NAME/g" /etc/cups/client.conf how do I do this with systemd? I'll try now the _netdev option and see if it works for me without systemd thanks in advance

Re: systemd and variable network (help needed)

2016-01-07 Thread Dominique Dumont
On Wednesday 06 January 2016 12:45:43 deloptes wrote: > I do this with two custom init script > - network script (checks the interface and network/domain) > and updates fstab, resolv.conf + mounts nfs if 1) I do a similar task with a script located in /etc/network/if-up.d/ This i

Re: systemd and variable network (help needed)

2016-01-06 Thread Brian
On Wed 06 Jan 2016 at 15:57:12 +0100, deloptes wrote: > Brian wrote: > > > Why not try systemd before anticipating any issues? 'init=/bin/systemd' > > on the kernel command line for trial runs. > > I have tried it - this is the reason I ask the question. > > The nfs share with my home did not m

Re: systemd and variable network (help needed)

2016-01-06 Thread Brian
On Wed 06 Jan 2016 at 12:45:43 +0100, deloptes wrote: > I'm willing to start using systemd, but there is one major issue that > prevent me to do so. > > I have following use cases regarding network setup. > > 1) home office > - my home is on a nfs share > - the nfs share mounte

systemd and variable network (help needed)

2016-01-06 Thread deloptes
Hi, I'm willing to start using systemd, but there is one major issue that prevent me to do so. I have following use cases regarding network setup. 1) home office - my home is on a nfs share - the nfs share mounted via fstab before user gets to login prompt - eth0 no fir