11-15-2004
interactive startup..
i have used the interactive startup in the past on my system to skip wireless mode when I am somewhere out of range of the internet and and have only the 2hrs battery lifetime and no place to connect my laptop to the mains.. i usually skip isdn and networking. what I would like to know is how would put to use the inetractive startup to more efficiently run my system as in the example above.. . more precisely if i were to use the interactive startup more often and for other functions how would I most benefit from using this..
cpuspeed for example... if I am on battery and not using wireless would skipping cpuspeed maximize battey life?
any feedback welcome
moxxx68
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: Can anyone please tell me how to get into Interactive Mode? (2 Replies)
Discussion started by: Nomad
2 Replies
2. UNIX for Dummies Questions & Answers
I would like to ask if anyone knows of a Unix program that is like patch(1), but applies each diff interactively so I can decide on whether to apply a particular diff.
This is my situation: someone has made certain changes to a file I created, sent me the modified copy and I would like the... (2 Replies)
Discussion started by: cbkihong
2 Replies
3. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
Discussion started by: rits
1 Replies
4. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies
5. Shell Programming and Scripting
I wanna edit a file non-interactively using vim editor
The file contains a line:
ACTIVATIONCODE=
I have a variable called ACT. I want to edit the file non-interactively using vim such that the concerned line is converted to:
ACTIVATIONCODE=contents of the variable ACT
---------- Post... (1 Reply)
Discussion started by: proactiveaditya
1 Replies
6. Shell Programming and Scripting
Hi,
I need to sftp from one Unix Server (source) to another (destination) (both SunOS) non-interactively.
I did the following :
1) Generated public key in source server in $HOME/.ssh dir without giving any passphrase
2) Added the contents of the public key generated to authorized_keys2... (7 Replies)
Discussion started by: Sabari Nath S
7 Replies
7. Shell Programming and Scripting
Hi,
I am writing an interactive shell script (ksh) but I have no idea how I could make a condition on it :
Variables :
rep_config="${rep_tools}/_CONFIG"
rep_config_old="${rep_config}/_PROTO_OLD"
Here is the interactice part :
lst_proto=$(cat... (2 Replies)
Discussion started by: Aswex
2 Replies
8. Solaris
I just took delivery of an Ultra Sparc 60 box. I tried to install Solaris 10 from the cdrom by issuing the following command at ok prompt: ok boot cdrom, and I am getting an error message that says: "Boot device: /pci@1f,4000/scsi@3/disk@6,0:f File and args: can't open boot device. What am I... (2 Replies)
Discussion started by: ijeoma
2 Replies
9. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
LEARN ABOUT MOJAVE
bdconfig
bdconfig(1M) System Administration Commands bdconfig(1M)
NAME
bdconfig - configures the bd (buttons and dials) stream
SYNOPSIS
bdconfig [startup] [off] [on] [term] [status] [verbose]
DESCRIPTION
The bdconfig utility is responsible for configuring the autopush facility and defining to the system what serial device to use for the bd
stream.
OPTIONS
If no options are given, then an interactive mode is assumed. In this mode the current status is presented along with this usage line, and
a series of interactive questions asked to determine the user's desires.
Root privilege is required to change the configuration. The status option does not require root privilege. bdconfig can be installed as a
setuid root program.
The non-interactive options below can be given in any order.
term Specify to the system the serial device for bd use. This option implies the on option unless the off option is present.
iff Reconfigure the configured term for tty use.
on Reconfigure the configured term for bd use. If term has not been previously specified, interactive questions are asked to
determine the user's desires.
startup Configure as was last configured before the system went down. This option is used by the startup script, and precludes the
use of the
on, off, and term options. This option implies non-interactive mode.
status Emit the current configuration in terms of the words used as options: off, on, /dev/term/a, /dev/term/b, and so forth. This
option implies non interactive mode.
verbose bdconfig describes what it finds and what it is doing.
EXIT STATUS
The bdconfig utility returns 0 on success, 1 on general error, and 2 on argument error.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdialh |
+-----------------------------+-----------------------------+
SEE ALSO
autopush(1M), attributes(5), x_buttontest(6), x_dialtest(6), bd(7M), sad(7D), streamio(7I)
NOTES
All bdconfig does is configure the AUTOPUSH facility. bdconfig does not actually manipulate the serial port or stream in any way. Only the
first open of a dismantled stream will see the effects of a previously run bdconfig.
The bdconfig utility is silent except for error messages unless:
a) invoked with no args: status / usage line emitted
b) interactive modes are invoked as described above
c) the verbose option is used
BUGS
The interface does not support more than one dialbox and one buttonbox, both of which must be on the same serial device.
There should be a library routine to read, parse, and validate records in the iu.ap file, so that bdconfig could return to the appropriate
record in iu.ap as the default configuration.
SunOS 5.10 18 May 1993 bdconfig(1M)