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…
-----BEGIN PGP SIGNED MESSAGE-----
Why not copy /etc/init.d/skeleton to a new file and create you own init
> 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…
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
Special mount points of what, exactly?
NFS? Samba? ATalk? Volumes?
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.
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…