Fedora :: Running A Script At Shutdown?
Jun 25, 2010
i want to run a script when computer shutdown to close my teamspeak2 serveri know how to start it automatically http://www.fedorafaq.org/basics/#startonbooti found a good start stop script for ts2Quote:
#! /bin/bash
# Copyright (c) 2004 TeamSpeak team All rights reserved.
#
[code]...
View 4 Replies
ADVERTISEMENT
Jun 20, 2010
I cant shutdown without running sudo shutdown. When I try to use the default gnome shut down it takes me back to the logon screen. Fresh install today and I've had the same problem on other installs.
View 9 Replies
View Related
Mar 30, 2010
I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.
When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."
View 5 Replies
View Related
Feb 5, 2011
Recently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.
[Code]....
View 2 Replies
View Related
Sep 30, 2010
I want to shutdown my computer as if power was cut off (don't ask me why). How do I do this under Linux?
View 6 Replies
View Related
Sep 9, 2011
What's the correct way to shutdown system while apt-get is still running? apt-get complains about unclean shutdown when I just shutdown computer.
View 2 Replies
View Related
Jan 16, 2011
I have a small but annoying problem... I have two scripts that I want to run automatically one at boot and one at shutdown. For the one at boot I tried to put it in rc.local or to create a file in /etc/init.d/ based on the others files in the folder but nothing worked... I need it to run system-wide and not once a specific user is logged in.
For the script at shutdown I don't know how to do it but it can be user specific or system-wide I don't really care. I am running Ubuntu 10.10 64bits with kernel 2.6.35-24-generic
PS. I should add that when executed manually both scripts works perfectly well and I don't need those script to run continuously in the background, just run and quit.
View 9 Replies
View Related
May 12, 2011
Simple question: what parameters can be used to shutdown a computer running Linux/OSX in 30 seconds? I've always run Windows, where I would go shutdown -s -t 30 but the parameters are different. I've looked it up here but it will only let you shut a computer down at a specific time (like 8:00) rather than in a specific amount of seconds.
View 4 Replies
View Related
Jan 29, 2011
I'm use ubuntu 8.10 ( on a msi 645 notebook ) and i'm trying to shutdown from grub. I have add these entries to menu.lst after the ### END AUTOMAGIC KERNEL LIST
title Halt
halt
I only get a black screen but the pc is still running someone said it only put grub to sleep or something. I also tried this commands sudo shutdown -h now or init 0, poweroff... but there all "unrecognized commands" in grub... Is there a possibilty to shutdown from grub.
View 6 Replies
View Related
Sep 3, 2009
I've used the following script here: [URL] to upgrade Alsa to 1.0.21 in Ubuntu 8.04. Now whenever I run:
Code:
sudo shutdown -h <time> or sudo reboot from the terminal I get a rather annoying beep sound. What's even more annoying is if I use the shutdown command to specify a time I get a beep every 10 minutes or so.
I've tried disabling the terminal beep in the terminal profile, disabling the beep in System/Preferences/Sound, adding "blacklist pcspkr" to /etc/modprobe.d/blacklist, and running gconf-editor from the terminal and setting /desktop/gnome/peripherals/keyboard/bell_mode to 'off' rather than 'on'.
View 6 Replies
View Related
Nov 30, 2010
So I found many methods on google, but no one works. It seems that this one is THE Debian way.
Code:
### BEGIN INIT INFO
# Provides: mystartupscript
#[code]...
View 5 Replies
View Related
Dec 10, 2010
I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .
Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?
View 1 Replies
View Related
Jul 19, 2009
After "yum install emacs" & "yum install emacs-ess", I was able to install emacs on my X86_64 running Fedora 10.
If I run one session of emacs everything works fine.
Once I start a second session and try to resize or move the emacs window, the system stops responding.
View 1 Replies
View Related
Jun 30, 2010
when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part
View 4 Replies
View Related
Apr 22, 2010
I cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.
I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.
I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.
That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.
View 2 Replies
View Related
Sep 7, 2010
Ubuntu will randomly pop up the shutdown menu and then shutdown.It seems to happen when im in firefox and typing and it has been difficult to replicate. I dont think it is a temp issue since watch sensors shows temmp of 40-50C. Someimtes it happens every minute someimtes i can go 10min without it happening.
Dell Inspiron 1525
ubuntu 10.04 (only os on system)
View 3 Replies
View Related
Dec 10, 2010
looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).
View 9 Replies
View Related
Jul 5, 2011
I'm running Fedora 15 64bit, with Gnome3 and an extension which puts the Shutdown link back where it should be the problem is that 95% of the time, when I shutdown the system it just hangs.If I press ESC then I just get a flashing cursor and pressing it again returns me to the Fedora logo on the blue background. There is no HDD activity and I then have to perform a hard shutdown (press and hold the power button for 5 seconds) which is not ideal.
View 11 Replies
View Related
Jan 13, 2010
I want to try to install the newest drivers from nvidia, so that my graphics card is properly used, and I have the neat little special effects. I have the script from nvidia. I thought I could shutdown gdm thus: /etc/init.d/gdm stop but there is no gdm there. How do I achieve this? I am running the latest Fedora, 12. What do I have to do to get the option to boot into a shell in grub?
View 5 Replies
View Related
Nov 22, 2009
Recently upgraded to Fedora 12 and I installed the Moblin Desktop Environment with
Code:
yum groupinstall "Moblin Desktop Environment" The DE works but there are no applications of anykind installed except for volume control and network devices, I can't even log out or shutdown without switching to a TTY.
I have used moblin before and I'm assuming I am just missing some part of the environment? How can I get those base apps installed?
View 2 Replies
View Related
Feb 10, 2010
I run fedora 11, on KDE recently after an update the option to shut-down or restart has disappeared, I have to log out and then shut down. Its things like this that make me think fedora is emulating Microsoft grrrrrr. How do I get it back? Why was it removed in the first place?
View 1 Replies
View Related
Mar 26, 2010
I am connecting to my Fedora server via VNC. When I go to the System menu, I don't see a shut down menu item, just a log off.
I don't have a monitor on this server, and I'd like to be able to shut down the server from my VNC session. How can I do that with the current configure? Is there a script I can run, or some other option?
View 4 Replies
View Related
Apr 14, 2010
Just installed Fedora 12 on HP Tx2 Tablet, Dual boot with Windows72 surprises:#1: Fedora won't power down the system, by any "shut down" command & buttons...#2: Tablet and broadcom wireless won't work, (these just for new installer's reference)
View 2 Replies
View Related
Jul 14, 2010
After the latest batch of updates on f13 I no longer have a shutdown button and have to log off before I can suspend my machine. Where has it gone?Pressing the suspend button on my keyboard does actually suspend the system whilst logged in.Ok, after a reboot it's come back, why?
View 2 Replies
View Related
Dec 30, 2010
When I shut down fedora 14, no messages are displayed. I commented out "rhgb quiet" to display the startup messages. How do I configure Fedora 14 to display the shutdown messages when shutting down?
View 4 Replies
View Related
Aug 26, 2011
In FC 15 x64, I can no longer issue "shutdown -rF now". I get tagged on the "-F" option."-F" seems to have disappeared from the man page as well. The "-F" option was to force a "fsck" on my next boot.What happened to the "-F" option? Has fsck disappeared when we went from ext3 to ext4?
View 5 Replies
View Related
Feb 11, 2010
I'm playing with CRON to perform an automated shutdown. While I'm testing I want CRON to shutdown the PC every 10 min. Here is the crontab.
# crontab -l
0,10,20,30,40,50 * * * * root /sbin/shutdown -h now
I see the command being run in the CRON log, but the PC doesn't shutdown.
Feb 11 11:06:17 localhost crontab[4808]: (root) LIST (root)
Feb 11 11:07:31 localhost crontab[4813]: (root) BEGIN EDIT (root)
Feb 11 11:07:58 localhost crontab[4813]: (root) END EDIT (root)
Feb 11 11:10:01 localhost CROND[4821]: (root) CMD (root /sbin/shutdown -h now)
How would I debug this to figure why my shutdown command is being ignored?
View 4 Replies
View Related
Jan 20, 2010
I have been using this tip at URL.. to delete the temporary files created in /tmp for quite a few Fedora versions. But, I just found out that it does not work in F12. Is there are reason why it doesn't work?
You can put this into /etc/rc.d/init.d/syslog into the "stop)" section. This will clean up /tmp at every shutdown and keep your disk clean. Please note that you should not run this command when X-Windows is running.
View 7 Replies
View Related
Mar 22, 2010
Shutdown hangs after recent update(s) and will not power off, requiring use of manual power switchHave tried the following ..1 # shutdown -P now .. in terminal .. same result2 Disabled selinux .. same result
View 6 Replies
View Related
Sep 1, 2010
There is no Plymouth on shutdown after kernel-update.
View 9 Replies
View Related