Sponsored Content
Top Forums Shell Programming and Scripting how to delete files at booting of system (system startup) Post 302474936 by gc_sw on Friday 26th of November 2010 04:08:03 AM
Old 11-26-2010
please give some inputs and desired output.
This User Gave Thanks to gc_sw For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What are core files and how can I delete them when am performing system maintenance??

Help me How can I go about doing this. also, if you have any idea of other files I can delete and what I can do to improve the performance of a system thats running too slow (6 Replies)
Discussion started by: IMPORTANT
6 Replies

2. UNIX for Dummies Questions & Answers

How can I add my own service when system startup?

Hi All, My OS is redhat 7.1. How can I start my own service (e.g. simple scripts) when the system is started? I found something like /etc/rc.d, /etc/rc.init ... But I have no idea on them, have anyone can help me? regards wilson (6 Replies)
Discussion started by: wilsonchan1000
6 Replies

3. UNIX for Dummies Questions & Answers

System Startup Time

Hi all, Can anyone tell me how to find the System Startup time. Currently I am using "who -b" to get last reboot time. I wanted to know is there any log file for SCO Openserver 5, in which all this sort of imformations are kept. I have tried searching the forum with words like "WHO... (6 Replies)
Discussion started by: shoeb_syed
6 Replies

4. Solaris

What's wrong with my system? Solaris not booting.

Booting the 32-bit OS ... SunOS Release 5.7 Version Generic_106541-31 Copyright (c) 1983-2002, Sun Microsystems, Inc. configuring network interfaces: le0. Hostname: wz-ultra1 metainit: wz-ultra1: there are no existing databases The system is coming up. Please wait. checking ufs... (2 Replies)
Discussion started by: CollenM
2 Replies

5. SuSE

Executing set of sh files at system startup

Hi Everybody I am totally new to Linux. We are using Suse Linux version 9. Currently we have 4 to 5 shell scripts which needs to be executed manually by the users.I want these scripts to be run automatically when system starts...something like system startup service. When system is... (1 Reply)
Discussion started by: appleforme1415
1 Replies

6. Shell Programming and Scripting

Script to Delete temp files and check file system

Hi all, new to the threads as well as Unix/Linux. I need to create a script that will delete any temporary files as well as check the files on the system for errors or corruption. This is what I have so far and I'm sure that I'm missing things or have the wrong commands. I'm not sure where to go... (3 Replies)
Discussion started by: Bwood1377
3 Replies

7. AIX

System is not booting

the error is 0518 /usr mnt failed, pleaze tell me how i can fix it ! (1 Reply)
Discussion started by: majd_ece
1 Replies

8. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

9. Red Hat

Red Hat system not booting up

Hello, I had a linux server running mysql db without any issues, it just panic'd and now its not coming up , unfortunately we do not have backup for this server as well can anybody help on this. Following is the error Memory for crash kernel (0x0 to 0x0 ) notwithin permissible range Red... (2 Replies)
Discussion started by: fugitive
2 Replies

10. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

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
CMPCI(4)						   BSD Kernel Interfaces Manual 						  CMPCI(4)

NAME
cmpci -- C-Media CMI8x38 audio device driver SYNOPSIS
cmpci* at pci? dev ? function ? audio* at audiobus? mpu* at cmpci? opl* at cmpci? flags 1 DESCRIPTION
The cmpci device driver supports C-Media CMI8x38 based sound cards. The device has SPDIF input/output interfaces, 16bit CODEC with analog mixer, OPL3 FM Synthesizer, and MPU401 compatible MIDI I/O port inter- face. MIXER DEVICE
The mixer device of cmpci driver can be accessed via mixerctl(1) command. The complex structure is analyzed as follows. SPDIF in ---------------------- #1(coax)->|spdin1 | R ----------------------- #2(opt)-->|spdin2 spdif.input |--*->--|spdin spdif.output |--> SPDIF -->|spdout | | -->|playback | output | ---------------------- | | ----------------------- --------------------<------+-* ---------<-------------------+-+---------------------------------- | ------------------------ | | ----------------------- | -->|legacy spdif.output. |--+-*-->|spdout | | -->|wave playback | ----->|spdin spdif.monitor |---- | | ------------------------ NC-|off | | | ---------<-- spdif ----------------------- | | -------+------- dac ------------ ----------------- v | wave -->|playback.mode|---->|inputs.dac|-*->|inputs.dac.mute|->----- | playback --------------- ------------ R ----------------- | + | | ----------------- --------------------- |mix| | FM synthesizer -->|inputs.fmsynth |--*->|inputs.fmsynth.mute|-->----- | ----------------- R --------------------- *->-- CD ---------------------- --------------------------- v LINE-IN ->|inputs.{cd,line,aux}|-*>|inputs.{cd,line,aux}.mute|->----- AUX ---------------------- R --------------------------- | | ------------------ | | PC-SPK -->| inputs.speaker |----------------------------------->| + | ------------------ | | ------------------- ------------ ----------------- |mix| MIC --*-->|inputs.mic.preamp|->|inputs.mic|->|inputs.mic.mute|->| | | ------------------- ------------ ----------------- ----- | ------------ ----------------- | --->|record.mic|-->| | v ------------ | record.source |-->to ----------- *R-->| (select, mix) | recording |outputs.*|--> ----------------- ----------- SPK (front) Note the 2nd SPDIF input exists only on CMI8738/PCI-6ch versions. MIXER EXAMPLES
Here are examples about wave playback and SPDIF input/output ports. Playback to speaker, SPDIF input to SPDIF output mixerctl -w playback.mode=dac spdif.output=spdin spdif.monitor=off Playback to SPDIF output, SPDIF input to speaker mixerctl -w playback.mode=spdif spdif.output=playback spdif.output.playback=wave spdif.monitor=spdin SPDIF input to both SPDIF output and speaker mixerctl -w spdif.output=spdin spdif.monitor=spdin Playback to both SPDIF output and speaker mixerctl -w playback.mode=spdif spdif.output=playback spdif.output.playback=wave spdif.monitor=spdout Mix playback and SPDIF input to speaker mixerctl -w playback.mode=dac spdif.monitor=spdin SEE ALSO
mixerctl(1), audio(4), midi(4), mpu(4), opl(4), pci(4) HISTORY
The cmpci device driver appeared in NetBSD 1.5. BUGS
4ch/6ch playback is not yet available. Joystick port is not supported. spdif.output.playback=legacy does not seem to work properly. BSD
June 22, 2005 BSD
All times are GMT -4. The time now is 11:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy