diff -u /etc/rc.d/rc.mM /etc/rc.d/rc.M.new a maybe minor nit ...
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
diff -u /etc/rc.d/rc.mM /etc/rc.d/rc.M.new a maybe minor nit ...
Hmm , relative references to executables in the start up ...
Code:
-# Start Samba (a file/print server for Win95/NT machines).
+# Start the mail server. Try the rc.sendmail script first, then try rc.postfix.
+if [ -x /etc/rc.d/rc.sendmail -a -x usr/sbin/makemap ]; then
+ /etc/rc.d/rc.sendmail start
+elif [ -x /etc/rc.d/rc.postfix -a -x usr/sbin/postdrop ]; then
+ /etc/rc.d/rc.postfix start
+fi
It took me a minute to realize what was going on with this thread.
For any confused by it like I was, babydr is commenting on Pat's use of relative directories for calling usr/sbin/makemap and usr/sbin/postdrop instead of /usr/sbin/makemap and /usr/sbin/postdrop.
I'm not sure what the $PWD is in the starting scripts. If it is /, then the scripts should still work, although, it's not a bad idea to change it to use absolute paths.
It took me a minute to realize what was going on with this thread.
For any confused by it like I was, babydr is commenting on Pat's use of relative directories for calling usr/sbin/makemap and usr/sbin/postdrop instead of /usr/sbin/makemap and /usr/sbin/postdrop.
I'm not sure what the $PWD is in the starting scripts. If it is /, then the scripts should still work, although, it's not a bad idea to change it to use absolute paths.
I was curious so I put in an
Code:
echo "$PWD"
right after the line "Going multiuser" and at the very end of the script and it is '/'
That's good it isn't actually broken using relative paths to those commands.
Thanks for checking, I was thinking of doing that when I get home.
No worries.
I looked through the rest of the script and there aren't any more relative paths that I can see. So, if it is just a typo it's a sneaky one because since you're in / it still works.
I looked through the rest of the script and there aren't any more relative paths that I can see. So, if it is just a typo it's a sneaky one because since you're in / it still works.
I guess we'll see in the changelog if it's an accident or on purpose. But I can't think of a reason why a relative path would be used.
Code:
Tue Mar 29 20:16:24 UTC 2022
a/sysvinit-scripts-15.0-noarch-9.txz: Rebuilt.
rc.M: Fix cosmetic mistake where a couple of paths were relative instead of
absolute. Thanks to babydr.
Tue Mar 29 20:16:24 UTC 2022
a/sysvinit-scripts-15.0-noarch-9.txz: Rebuilt.
rc.M: Fix cosmetic mistake where a couple of paths were relative instead of
absolute. Thanks to babydr.
It's in the -current changelog but not the -15.0 ... it should be in both.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.