News for hackers. Stuff that matters.
Re:Git git git git git by TheSoftwareGuy on Tuesday September 26, 2017 @07:32PM (#15343587)
It’s probably just a shell script or an alias
Re:Git git git git git by projektfu on Tuesday September 26, 2017 @09:27PM (#15344167)
An alias would work but it wouldn't say rebnooting. That was my initial fix. But I was learning things at the time and I learned how to recompile parts of the distribution. I also learned how programs in Unix could invoke different effects based on name. Coming from DOS, it was a real surprise that reboot was a link to shutdown.
Re:Git git git git git by therein on Wednesday September 27, 2017 @03:23AM (#15345587)
So I am assuming you ended up patching the `shutdown` binary to print `Rebnooting` if exec'd with the `rebnoot` name?

This is similar to how busybox binary implements a bunch of the tools from coreutils etc.