Background: in PUPMODE 13 (frugal install with pup_save on a flash device), pup_save updates are done from the /usr/sbin/snapmergepuppy script.
Bug description:
The script contains a test to determine whether it's called at shutdown or during the session (i.e. automatically every 30 minutes or upon user "save" command).
Code: Select all
RUNPS="`ps`"
SHUTDOWN="no"
[ "`echo "$RUNPS" | grep 'rc.shutdown'`" = "" ] && SHUTDOWN="yes"
Note that the bug is harmless most of the time, because the SHUTDOWN variable is only used to determine whether or not the user is warned and prompted to delete some files when pup_save is virtually full.