Results 1 to 5 of 5

Thread: startup things as root

  1. #1
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    7

    Default startup things as root

    Hi
    I was wondering where in the init process one should add special mounts, etc. . I am used to putting them in /etc/rc.local but Opensuse does not seem to have this as an option. The things I want to have run at startup would be as root.
    Thank you for any help you might provide...
    Robert

  2. #2

    Default Re: startup things as root

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Why not copy /etc/init.d/skeleton to a new file and create you own init
    script?

    Good luck.





    robertdaleweir wrote:
    > Hi
    > I was wondering where in the init process one should add special
    > mounts, etc. . I am used to putting them in /etc/rc.local but Opensuse
    > does not seem to have this as an option. The things I want to have run
    > at startup would be as root.
    > Thank you for any help you might provide...
    > Robert
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJKiPNDAAoJEF+XTK08PnB5oPUQAKygpiVC8AJqzk1B5tNOoM7d
    uB+4AC+TBlXbbPHlm/zyUbTTXaVN6Xueac8UrR8gkNLwGodMWYk6Xa4Bi04HVShY
    xLAwQBRZzlRmV9FnrlOZ6H8t/5ZDLuGpgN+g4j90IqaiN+oYm4SBUBLFYzR42ngm
    KPBNnP6reEIXQ8hn8+PmeV8pg9DyFzdnq0vCQn2FKF5qMUauCiLGKV39C1DR8Ruh
    89GthDZjijDWQqlAUoODVPyI1QXWrakMKwKI6W9t8N4EE2/X5HUZYraoerp5k9u9
    zEoPuu4Uljd6aTyh8dbk+IU4jAIWCR+iDWuh/Ond7JCaUrXBF3EjF6ilemGNbQk5
    yWhtT98EZFQV42eJJOQ0x/ubvEVXz1KVHChjRxjntsZP0snaiBZyT9HBBKQEvhqk
    rfPU8/MHc+1ipWGdKnL5PgO6Pjt21oRhDzHiO8cVvqa2IFdUKHsvnPzf0yXO7Pk/
    di/DdQLPpDnv+BJN+8RmRf94HFK0mVry5oifMYe/h42D/Zo7K0+9QkB/xvWRVh4X
    dSNFMuqINTMVRPJoyHoyjehBNXVcJt1WJlAgqBeB3rbztTS5xhU9qXiohVbbyVnM
    bWV7whovyVPguEXSPzCl/8IYeE5dIURKSJg+Nkh6IHU9PqNZiPSvvuv7Ugmstfo2
    DWBGI3xscVLEh09DcsKs
    =UQ9I
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: startup things as root

    Special mount points of what, exactly?

    NFS? Samba? ATalk? Volumes?

  4. #4
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    7

    Default Re: startup things as root

    Quote Originally Posted by Chrysantine View Post
    Special mount points of what, exactly?

    NFS? Samba? ATalk? Volumes?
    Hi
    I use several different distros and I 'mount' all my personal files, which reside on a separate spindle; to a specific directory under my user directory in all of them. I do not use LVM but mount directly. My distros are on Removable Hard Drives and my personal information is on a fixed drive in my machine. I of course only run one distro at a time.
    I guess what I need to know is, which init script is usually used to run Non OS stuff for the Administrator, if any. As suggested in the post by Explorer Penquin I can use /etc/init.d/skeleton and make my own and with this I agree. The issue is where do I save it and how do I get it into the correct order so that it is set just before presenting the Login Screen or at least after the OS stuff is fully set. I use /etc/rc.local in Fedora and it is the last script run by the OS, by default.
    Thanks

  5. #5
    Join Date
    Oct 2008
    Location
    Canada
    Posts
    7

    Default Re: startup things as root

    Hi
    I was able to locate a place where I put my commands which invoke as root just after Boot. It is a script called 'boot.local' and it resides under '/etc/init.d'. As root I edited this file and added my mount, chown etc. and all is well. Cheers...
    Robert Weir
    CPU Athlon 3800+ X2 Dual Core
    MoBo Mach Speed MSNV939 Memory 4 Gigs DDR 400 PC3200
    Sound Card On Board Nvidia CK804
    Video Card Nvidia BFGR6600

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •