diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-01-07 16:47:27 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-01-07 16:47:27 +0100 |
commit | 366c535d93aa3a8ad44f56ca1e024bb9e26bf11c (patch) | |
tree | da84175606693b181e6ffa9e1b7492f16948b121 /contrib/rvnit/20Scleanup | |
parent | 460803f3c3740e076f6db8d56f900b6a53f5ef8f (diff) | |
download | rvnit-366c535d93aa3a8ad44f56ca1e024bb9e26bf11c.tar.gz rvnit-366c535d93aa3a8ad44f56ca1e024bb9e26bf11c.tar.xz rvnit-366c535d93aa3a8ad44f56ca1e024bb9e26bf11c.zip |
contrib: update
Diffstat (limited to 'contrib/rvnit/20Scleanup')
-rwxr-xr-x | contrib/rvnit/20Scleanup | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/rvnit/20Scleanup b/contrib/rvnit/20Scleanup new file mode 100755 index 0000000..6310892 --- /dev/null +++ b/contrib/rvnit/20Scleanup @@ -0,0 +1,11 @@ +#!/bin/sh +# vim: set ts=4 sw=4 et: + +if [ ! -e /var/log/wtmp ]; then + install -m0664 -o root -g utmp /dev/null /var/log/wtmp +fi +if [ ! -e /var/log/btmp ]; then + install -m0600 -o root -g utmp /dev/null /var/log/btmp +fi +install -dm1777 /tmp/.X11-unix /tmp/.ICE-unix +rm -f /etc/nologin /forcefsck /forcequotacheck /fastboot |