projects
/
oweals
/
dinit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d27f7
)
Don't need to clear utmp in rcboot.sh; dinit now does it.
author
Davin McCall
<davmac@davmac.org>
Fri, 3 May 2019 10:25:15 +0000
(20:25 +1000)
committer
Davin McCall
<davmac@davmac.org>
Fri, 3 May 2019 10:25:15 +0000
(20:25 +1000)
doc/linux/services/rcboot.sh
patch
|
blob
|
history
diff --git
a/doc/linux/services/rcboot.sh
b/doc/linux/services/rcboot.sh
index c59d052d4296ce221321180a125c7dce8b5ded2a..83360a714925c2cef096ab876fa1ad6f5461e79d 100755
(executable)
--- a/
doc/linux/services/rcboot.sh
+++ b/
doc/linux/services/rcboot.sh
@@
-9,8
+9,7
@@
if [ "$1" != "stop" ]; then
rm -rf /tmp/* /tmp/.[^.]* /tmp/..?*
rm -rf /var/lock/* /var/lock/.[^.]* /var/lock/..?*
rm -rf /var/run/* /var/run/.[^.]* /var/run/..?*
- # Create (empty) utmp database
- : > /var/run/utmp
+ # create state directories
mkdir /var/run/dbus
# Configure random number generator