7f25b94378
Arista platforms need the filesystem ACLs to be removed on boot to prevent invalid permission to be set for new files.
21 lines
299 B
Bash
21 lines
299 B
Bash
#!/bin/sh
|
|
#Part of the code is revised based on initramfs-tools/hooks/fsck and initramfs-tool is under GPL v2.
|
|
|
|
PREREQ=""
|
|
|
|
prereqs()
|
|
{
|
|
echo "$PREREQ"
|
|
}
|
|
|
|
case $1 in
|
|
prereqs)
|
|
prereqs
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
. /usr/share/initramfs-tools/hook-functions
|
|
|
|
copy_exec /usr/bin/setfacl /sbin/setfacl
|