This is a discussion on One bug in /etc/rc.d/rc.6, and one omission. within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi folks, In Slackware 12, there are references in /etc/rc.d/rc.6 to /bin/sleep. There is no sleep in /bin. Try ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi folks, In Slackware 12, there are references in /etc/rc.d/rc.6 to /bin/sleep. There is no sleep in /bin. Try 'which sleep'. Also, the poweroff command at the end needs to have the -h flag to make sure it quietly shuts down the hard drives. Without it, mine makes a cluck sound. Enjoy.. |
| |||
| On Sun, 02 Sep 2007 09:51:13 -0700, plenty560 wrote: > In Slackware 12, there are references in /etc/rc.d/rc.6 to /bin/sleep. > There is no sleep in /bin. Try 'which sleep'. ]$ which sleep /bin/sleep ]$ grep sleep /var/log/packages/* ,,, /var/log/packages/coreutils-6.9-i486-1:bin/sleep |
| |||
| plenty560@yahoo.com wrote: > Hi folks, > > In Slackware 12, there are references in /etc/rc.d/rc.6 > to /bin/sleep. There is no sleep in /bin. Try 'which sleep'. > on mine, it returns /usr/bin/sleep, which is a symlink to /bin/sleep > Also, the poweroff command at the end needs to > have the -h flag to make sure it quietly shuts down > the hard drives. Without it, mine makes a cluck sound. > make sure it doesn't lay eggs too... although this sounds like a safer way... |
| |||
| On Sun, 02 Sep 2007 09:51:13 -0700, plenty560 wrote: > In Slackware 12, there are references in /etc/rc.d/rc.6 > to /bin/sleep. There is no sleep in /bin. Try 'which sleep'. LOL, n00b. Try: ls -l /usr/bin/sleep > Enjoy.. Bugger off. -- "Bother!" said Pooh, as the prunes began to work. |
| |||
| Dan C <youmustbejoking@lan.invalid> wrote: >On Sun, 02 Sep 2007 09:51:13 -0700, plenty560 wrote: > >> In Slackware 12, there are references in /etc/rc.d/rc.6 >> to /bin/sleep. There is no sleep in /bin. Try 'which sleep'. > >LOL, n00b. >Try: ls -l /usr/bin/sleep LOL, boob, that's still the *wrong* command! Try "whereis sleep". >> Enjoy.. > >Bugger off. Trolling for sex partners... -- Floyd L. Davidson <http://www.apaflo.com/floyd_davidson> Ukpeagvik (Barrow, Alaska) floyd@apaflo.com |
| |||
| On Sun, 02 Sep 2007 19:10:21 -0800, Floyd L. Davidson wrote: >>> In Slackware 12, there are references in /etc/rc.d/rc.6 >>> to /bin/sleep. There is no sleep in /bin. Try 'which sleep'. >>LOL, n00b. >>Try: ls -l /usr/bin/sleep > LOL, boob, that's still the *wrong* command! There's nothing "wrong" about it, dumb fuck. It illustrates to the n00b (and to you too apparently), that /usr/bin/sleep is a symlink to /bin/sleep, and therefore the "error" in the rc.6 script is not an error at all. Is that too much for you to grasp? Read it again, slowly. > Try "whereis sleep". Yeah. What about it? Meaningless in this context. > Trolling for sex partners... You can do what you'd like, dimwit. -- "Bother!" said Pooh, as he dropped another white rhino. |
| |||
| plenty560@yahoo.com wrote: > Hi folks, > > In Slackware 12, there are references in /etc/rc.d/rc.6 > to /bin/sleep. There is no sleep in /bin. Try 'which sleep'. > > Also, the poweroff command at the end needs to > have the -h flag to make sure it quietly shuts down > the hard drives. Without it, mine makes a cluck sound. > > Enjoy.. Look at /etc/inittab for rc.6. -- Posted via a free Usenet account from http://www.teranews.com |
| ||||
| Dan C <youmustbejoking@lan.invalid> wrote: >> Try "whereis sleep". >Yeah. What about it? Meaningless in this context. Not at all. It clearly shows there is a /bin/sleep, which is what the OP was curious about. Just like your ls, but with even more information. In any case, the important lesson here is that there is more than one instance of "sleep" in the path, and "which" only reports the first one. -Beej |