M7350/system/core/powerapp/reset_reboot_cookie
2024-09-09 08:52:07 +00:00

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