summaryrefslogtreecommitdiffstats
path: root/config/netcfg
diff options
context:
space:
mode:
authorJouke Witteveen <j.witteveen@gmail.com>2012-06-24 23:55:47 +0200
committerJouke Witteveen <j.witteveen@gmail.com>2012-06-24 23:55:47 +0200
commit3fcb56d6743fc1c00ae4d05b671e221ea3df6492 (patch)
tree90388a1e8da785dff9213da68800f8b2e103a5c6 /config/netcfg
parent2d949d5ab65851bc8b6610dd4288eb8737aa9f86 (diff)
downloadnetctl-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 'config/netcfg')
-rw-r--r--config/netcfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/netcfg b/config/netcfg
index f56272a..e74e5ea 100644
--- a/config/netcfg
+++ b/config/netcfg
@@ -1,9 +1,9 @@
-# Enable these netcfg profiles at boot-up.
-# - set to 'menu' to present a menu during boot-up (dialog package required)
+# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
+# - set to 'last' to restore the profiles running at the last shutdown
+# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
-#
-#NETWORKS=(menu)
+NETWORKS=(last)
## Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"