LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2007, 10:25 PM   #1
Mearth
LQ Newbie
 
Registered: Feb 2007
Location: Cleveland Ohio
Distribution: Mepis
Posts: 16

Rep: Reputation: 0
how can i automate webmin


Everytime I reboot my pc I have to type /etc/webmin/start so I can use webmin. Is there a way to have this execute automatically?
 
Old 02-25-2007, 10:28 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
I'm not sure how Mepis handles startup scripts, but you probably have have an /etc/rc.local where you can add commands to be run on boot.
 
Old 02-26-2007, 11:36 AM   #3
Mearth
LQ Newbie
 
Registered: Feb 2007
Location: Cleveland Ohio
Distribution: Mepis
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you for the help. Well I tried out what you said. However, it looks like my system is based around system V unix, which has these run levels where one is supposed to add scripts to one of the run levels. I am not sure what to do though because i do not know how to create a script. I think I am supposed to create the script and then run some command to specify what run level to put it in.
 
Old 02-26-2007, 11:44 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Even systems that make heavy use of SysV inits commonly
have SOME means of doing what matir said. In SuSE for
instance it's boot.local.

Look through your /etc directory structure, there may
be a *local* RC file somewhere.


Cheers,
Tink
 
Old 02-26-2007, 02:01 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 124Reputation: 124
Failing that, creating a script is incredibly easy. For example:
Code:
#!/bin/bash
/etc/webmin/start
That script will start webmin for you based on the command you posted.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webmin: missing /etc/init.d/webmin quarry_06 Debian 9 02-03-2007 09:55 AM
LXer: Speaking Unix, Part 6: Automate, automate, automate! LXer Syndicated Linux News 0 01-04-2007 09:54 AM
webmin troubles - Failed to write to /etc/webmin/module.infos.cache : No space left o coal-fire-ice Linux - Software 1 07-28-2005 10:08 AM
How would I automate this? onewhoknows Linux - Newbie 5 06-22-2004 04:49 AM
automate installations alaios Slackware 6 05-29-2004 03:26 AM


All times are GMT -5. The time now is 08:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration