First check in after renaming to sl-base
This commit is contained in:
26
SL/usher
Executable file
26
SL/usher
Executable 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
|
||||
Reference in New Issue
Block a user