From 3fcb56d6743fc1c00ae4d05b671e221ea3df6492 Mon Sep 17 00:00:00 2001 From: Jouke Witteveen Date: Sun, 24 Jun 2012 23:55:47 +0200 Subject: 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. --- docs/features.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs/features.txt') 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'. -- cgit v1.2.3-24-g4f1b