s243a

initrd/init:set_fs_linux() (tahrpup)

Apr 24th, 2018
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. # LN#705 to 711 of /intrd/init tahrpup - https://www.pearltrees.com/s243a/initrd-init/id19535893/item224274706
  2. # Ln# 757 to 763 of https://github.com/puppylinux-woof-CE/woof-CE/blob/c96d661c2232caef1d69c693de673fb0e54796f8/initrd-progs/0initrd/init#L757 (13 Mar 2018)
  3. set_fs_linux() {
  4. # "$1" - file system type - ex: ext4
  5.  ONE_FS_IS_LINUX=""
  6.  case ${1} in
  7.   ext2|ext3|ext4|reiserfs|minix|f2fs) ONE_FS_IS_LINUX="yes" ;;
  8.  esac
  9. }
Advertisement
Add Comment
Please, Sign In to add comment