LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-09-2007, 03:00 PM   #1
ostrowlaw
Member
 
Registered: Dec 2006
Posts: 66

Rep: Reputation: 15
Help with file: etc/init.d/boot.local


Hi,

Trying to get a boot script to work in SUSE Linux 10.2. It works in Fedora 6 (under /etc/rc.d/rc.local) . Here's what it looks like, and I installed it in /etc/init.d/boot.local. Anyone see why it would not work?

The script works under root, if I open it manually, but it doesn't work automatically at boot, nor does the script work in any other user other than root. Anyone have any ideas?

Thanks
Alan


#!/bin/sh
#
# *********NOTE: Difference between Fedora and SUSE***
# For Fedora linux put this startup file in /etc/rc.d/rc.local
# For openSUSE put this startup file in /etc/init.d/boot.local
#*******************************************************************

# /etc/rc.d/rc.local: Local systeminitialization script.
#/etc/init.d/boot.local: Local system initialization script
#
# Put any local startup commands in here. Also, if youhave
# anything that needs to be run at shutdown time you can
# make an /etc/rc.d/rc.local_shutdown script and put those
# commands in there.
ipx_interface delall
ipx_interface add -p eth0 802.2
#ipx_interface add -p eth0 802.3
ipx_configure --auto_interface=on --auto_primary=on
ipx_interface check eth0 802.2
#ipx_interface check eth0 802.3
ncpmount -S server2 -U admin -P password /server2
 
Old 03-09-2007, 09:44 PM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
For openSUSE follow the /etc/rc.d/skeleton example.
 
Old 03-10-2007, 08:18 AM   #3
ostrowlaw
Member
 
Registered: Dec 2006
Posts: 66

Original Poster
Rep: Reputation: 15
Sorry, I'm just a in this, even though I have experience in other areas. The file doesn't make much sense to me. Which are, in particular, should I be looking at and how should I modify it?

Thanks
Alan
 
  


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
Local file system don't mount on boot hraposo Ubuntu 1 11-28-2006 01:54 PM
cant boot suse bc of changed /etc/init.d/boot.local esyed Linux - General 5 09-24-2006 05:04 AM
Cannot login after changes in boot.local file khairkhoah Linux - Newbie 3 06-28-2006 03:46 AM
boot hangs after running /etc/init.d/boot.local eddieb Linux - Newbie 2 07-18-2004 06:57 AM
init level 5 for remote X but not local gw1500se Mandriva 0 05-31-2004 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:30 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
Open Source Consulting | Domain Registration