First check in after renaming to sl-base

This commit is contained in:
2020-08-01 12:49:39 -05:00
commit bb12964fdc
15 changed files with 391 additions and 0 deletions

26
SL/usher Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/sh
set -e
case $1 in
preinst)
exit 0
;;
postinst)
if [ ! -f ${TARGET}/var/log/btmp ]; then
install -v -m 600 /dev/null ${TARGET}/var/log/btmp
fi
if [ ! -f ${TARGET}/var/log/lastlog ]; then
install -v -m 664 /dev/null ${TARGET}/var/log/lastlog
fi
if [ ! -f ${TARGET}/var/log/wtmp ]; then
install -v -m 664 /dev/null ${TARGET}/var/log/wtmp
fi
;;
prerm)
exit 0
;;
postrm)
exit 0
;;
esac