diff options
author | Jouke Witteveen <j.witteveen@gmail.com> | 2012-06-24 23:55:47 +0200 |
---|---|---|
committer | Jouke Witteveen <j.witteveen@gmail.com> | 2012-06-24 23:55:47 +0200 |
commit | 3fcb56d6743fc1c00ae4d05b671e221ea3df6492 (patch) | |
tree | 90388a1e8da785dff9213da68800f8b2e103a5c6 /docs | |
parent | 2d949d5ab65851bc8b6610dd4288eb8737aa9f86 (diff) | |
download | netctl-3fcb56d6743fc1c00ae4d05b671e221ea3df6492.tar.gz netctl-3fcb56d6743fc1c00ae4d05b671e221ea3df6492.tar.xz |
Provide the ability to activate the last used profile (FS#23015)
Henrik Hallberg made this a hot topic. Thanks.
This implementation differs from his in a couple of ways. One is that @last is not implemented. Equivalent functionality is provided by using @net-profiles in the DAEMONS array.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/features.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/features.txt b/docs/features.txt index f07376f..4155a2d 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -37,14 +37,17 @@ For more options, see ''netcfg help'' Start a specific list of profiles on boot ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ net-profiles allows you to start some profiles at boot time. Specify the -profiles you want netcfg to start (in this order) in the +NETWORKS+ line -in '/etc/conf.d/netcfg'. Prefix a profile with a `@' to start it in the -background. For example: +profiles you want netcfg to start (in the order you want them to be +started) in the +NETWORKS+ line in '/etc/conf.d/netcfg'. +Prefix a profile with a `@' to start it in the background. For example: -------------------------------- NETWORKS=(@adsl @mywireless lan) -------------------------------- +Alternatively, you can have netcfg restart the profiles you had running +at the previous shutdown by specifying +NETWORKS=(last)+. + Next, add `net-profiles' to your +DAEMONS+ line in '/etc/rc.conf'. |