mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Change bash history to /data/.bash_history
This commit is contained in:
parent
d7641cd9c8
commit
0659ef300f
@ -19,6 +19,7 @@ rm -rf ${TARGET}/etc/ssl/man
|
|||||||
rm -rf ${TARGET}/etc/ssl/misc
|
rm -rf ${TARGET}/etc/ssl/misc
|
||||||
rm -rf ${TARGET}/etc/ssl/private
|
rm -rf ${TARGET}/etc/ssl/private
|
||||||
rm -rf ${TARGET}/etc/logrotate.d
|
rm -rf ${TARGET}/etc/logrotate.d
|
||||||
|
rm -rf ${TARGET}/etc/fstab
|
||||||
|
|
||||||
rm -f ${TARGET}/etc/rc_maps.cfg
|
rm -f ${TARGET}/etc/rc_maps.cfg
|
||||||
rm -f ${TARGET}/etc/udev/hwdb.d/20-pci-vendor-model.hwdb
|
rm -f ${TARGET}/etc/udev/hwdb.d/20-pci-vendor-model.hwdb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# <file system> <mount pt> <type> <options> <dump> <pass>
|
# <file system> <mount pt> <type> <options> <dump> <pass>
|
||||||
/dev/mmcblk0p1 /boot vfat ro,defaults 0 0
|
/dev/mmcblk0p1 /boot vfat ro,defaults 0 0
|
||||||
/dev/mmcblk0p3 /data ext4 defaults,noatime 0 0
|
/dev/mmcblk0p3 /data ext4 defaults,noatime 0 0
|
||||||
|
overlay /usr overlay lowerdir=/usr,upperdir=/data/usr,workdir=/data/.overlay 0 0
|
||||||
|
@ -4,4 +4,3 @@ devpts /dev/pts devpts gid=5,mode=620 0 0
|
|||||||
tmpfs /dev/shm tmpfs mode=0777 0 0
|
tmpfs /dev/shm tmpfs mode=0777 0 0
|
||||||
tmpfs /tmp tmpfs mode=1777 0 0
|
tmpfs /tmp tmpfs mode=1777 0 0
|
||||||
sysfs /sys sysfs defaults 0 0
|
sysfs /sys sysfs defaults 0 0
|
||||||
overlay /usr overlay lowerdir=/usr,upperdir=/data/usr,workdir=/data/.overlay 0 0
|
|
||||||
|
@ -27,6 +27,8 @@ if [ "$PS1" ]; then
|
|||||||
export TERM=linux
|
export TERM=linux
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
|
export HISTFILE=/data/.bash_history
|
||||||
|
|
||||||
# custom local profile
|
# custom local profile
|
||||||
test -f /data/etc/profile && source /data/etc/profile
|
test -f /data/etc/profile && source /data/etc/profile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user