Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #162773
| From | deloptes <deloptes@yahoo.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: systemd and variable network (help needed) |
| Date | 2016-01-07 19:40 +0100 |
| Message-ID | <qOnDB-3xV-57@gated-at.bofh.it> (permalink) |
| References | <qNV4C-Vs-7@gated-at.bofh.it> <qNWWJ-2bS-5@gated-at.bofh.it> <qNY2u-2RR-13@gated-at.bofh.it> <qOeqC-5Ek-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Elimar Riesebieter wrote:
> To mount net devices via fstab an additional option is needed:
>
> _netdev
>
> mount(8):
> ...
> _netdev
> The filesystem resides on a device that
> requires network access (used to prevent
> the system from attempting to mount these
> filesystems until the network has been
> enabled on the system).
> ...
>
> /etc/fstab:
>
> [nfsserver]:/nfs/share /mount/point/ nfs defaults,_netdev 0 0
>
> Elimar
Hi Elimar, all,
Thanks for the hints - indeed this could do the work for the nfs mount, but
how do I execute a custom actions.
MY requirements are
mount nfs conditional (this could be solved with the _netdev option)
setup proper home directory (the users home is obviously also on nfs)
enable disable wifi/bluetooth
start firewall in specific profile (case 1,2,3)
etc
So my overall question is how you tell systemd what to do - is it possible
to tell it start custom init script - I read there are a lot of ways to
configure it, but heard it is a bit complicated ... xml files and so on.
thanks in advance
regards
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-06 13:10 +0100
Re: systemd and variable network (help needed) Brian <ad44@cityscape.co.uk> - 2016-01-06 15:10 +0100
Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-06 16:20 +0100
Re: systemd and variable network (help needed) Brian <ad44@cityscape.co.uk> - 2016-01-06 16:50 +0100
Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-06 20:00 +0100
Re: systemd and variable network (help needed) Elimar Riesebieter <riesebie@lxtec.de> - 2016-01-07 09:50 +0100
Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-07 19:40 +0100
Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-08 08:40 +0100
Re: systemd and variable network (help needed) Dominique Dumont <dod@debian.org> - 2016-01-08 08:30 +0100
Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-08 09:00 +0100
Re: systemd and variable network (help needed) deloptes <deloptes@yahoo.com> - 2016-01-10 00:40 +0100
Re: systemd and variable network (help needed) [SOLVED] deloptes <deloptes@yahoo.com> - 2016-01-13 09:00 +0100
csiph-web