6 lines
159 B
Bash
6 lines
159 B
Bash
#! /bin/sh
|
|
# Make /var/log/wtmp point to NULL so logs written to wtmp are not saved
|
|
rm /var/log/wtmp
|
|
ln -s /dev/null /var/log/wtmp
|
|
echo 0 > /etc/reboot-cookie
|