Sponsored Content
Operating Systems Solaris I Need to edit message at shutting down Post 302544742 by infjustice on Thursday 4th of August 2011 10:27:42 PM
Old 08-04-2011
I Need to edit message at shutting down

on solaris 8 i edited file rc0 in /sbin at last line
ex.
Code:
/sbin/sync; /sbin/sync; /sbin/sync

# Unmount file systems. /usr, /var, /var/adm, /var/run are not unmounted by
# umountall because they are mounted by rcS (for single user mode) rather than
# mountall. If this is changed, mountall, umountall and rcS should also change.

/sbin/umountall
/sbin/umount /var/adm >/dev/null 2>&1
/sbin/umount /var/run >/dev/null 2>&1
/sbin/umount /var >/dev/null 2>&1
/sbin/umount /usr >/dev/null 2>&1

echo 'The system is down.'
echo 'turn off switch now'

------------------------
this work for sol8 when i shuttting down show meassge "echo 'The system is down.'
echo 'turn off switch now'" but on Solaris 10 don't work for solution
I need to edit meassge when shutting down like sol8 Please help me

Last edited by pludi; 08-10-2011 at 04:38 PM..
 

10 More Discussions You Might Find Interesting

1. Solaris

shutting down oracle with the server

What can I do to ensure that oracle database is shut down when the server reboots. (1 Reply)
Discussion started by: krishan
1 Replies

2. UNIX for Advanced & Expert Users

Shutting down Solaris

Hi I have a mix of solaris 8,9 & 10. I need to have our 6 Solaris servers shutdown buy a script that will be executed by APC network Shutdown software Im really not sure how I would write a script to shut them down and the following processes? the processes are portmapper seq seq_api... (1 Reply)
Discussion started by: tonysequoia
1 Replies

3. UNIX for Dummies Questions & Answers

Shutting down the Server

Hi Is there anyway i can find out from which terminal a shutdown command has been run from ? :( (3 Replies)
Discussion started by: ktech
3 Replies

4. Ubuntu

Ubuntu Hangs when shutting down

i really dont know any other way to put it besides that Ubuntu 8.04, that i just installed on my computer hangs when it shuts down. the bar depletes the orange like it should, but it never actually shuts down. anyone know whats going on? (3 Replies)
Discussion started by: Texasone
3 Replies

5. Solaris

Zone stuck in shutting down state.

One of my zone got stuck while rebooting in shutting down state. I tried following 1. Halt the zone with zoneadm -z zone1 halt 2. kill zoneadmd process for that zone and halt the zone but none helped me. How can i shut it down and restart it ? ---------- Post updated 10-09-09 at 01:54 AM... (0 Replies)
Discussion started by: fugitive
0 Replies

6. UNIX for Dummies Questions & Answers

critical temperature eached, shutting down

Hey all, I have attached an image of a problem that I've been having since last night. My computer will be on no more than 5-10 min and I'll get this message that pops up and my computer shutsdown. I know for a fact my computer is not overheated becasue I will have it off for hours and then... (7 Replies)
Discussion started by: pullmand
7 Replies

7. AIX

Getting error while shutting down

Hi, I am getting the error "/etc/rc.shutdown failed. Shutdown aborting" while shutting down the os. Please suggest. (1 Reply)
Discussion started by: manoj.solaris
1 Replies

8. Shell Programming and Scripting

[Solved] While tomcat shutting down getting error

While tomcat shutting down getting the below error. Error occurred during initialization of VM Could not reserve enough space for code cache CATALINA_OPTS="-verbose:gc -Xloggc:gc.log -XX:+PrintGCDetails -XX:MaxPermSize=24M -Xms256M -Xmx512M -Djava.awt.headless=true -XX:-UseCompressedOops... (2 Replies)
Discussion started by: tuxslonik
2 Replies

9. Fedora

Script for shutting down 48 computers

Hi All, I am pretty new to unix type languages. At work we have a server room with about 50 windows computers in one system and 50 in a unix system. We sometimes have power outages and I don't like the power slam. I wrote a windows batch file using sysinternals help to shutdown the windows... (4 Replies)
Discussion started by: Jeff Rollins
4 Replies

10. Solaris

11.2 not shutting down completely

I just installed this 11.2 ver and when I tell it to shutdown it takes for ever then just hangs with this just a little bit of that red line left to go, then it just sits there like forever until I get tired of looking at it then force a shutdown by holding my power button down until my laptop... (8 Replies)
Discussion started by: userx-bw
8 Replies
volinstall(8)						      System Manager's Manual						     volinstall(8)

NAME
volinstall - Sets up Logical Storage Manager (LSM) environment after LSM installation SYNOPSIS
/usr/sbin/volinstall DESCRIPTION
The volinstall script sets up LSM special device files, and add the following lines to the /etc/inittab file: lsmr:s:sysinit:/sbin/lsmbstartup -b </dev/console >/dev/console 2>&1 lsm:23:wait:/sbin/lsmbstartup -n </dev/console >/dev/console 2>&1 vol:23:wait:/sbin/volreconfig -n </dev/console >/dev/console 2>&1 The first line calls the /sbin/lsmbstartup script, which enables LSM to start automatically on system reboot. The second line calls the /sbin/volreconfig script, which handles any pending encapsulation requests. If /sbin/lsmbstartup is not added to the /etc/inittab file, LSM must be started manually after system reboot. Note The volinstall script is automatically invoked by the volsetup, clu_create, and clu_add_member commands. Therefore, running the volinstall script to set up LSM is usually not necessary. SEE ALSO
inittab(4), lsmbstartup(8), volencap(8), volintro(8), volsetup(8), volinstall(8)
All times are GMT -4. The time now is 05:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy