ACIL FM
Dark
Refresh
Current DIR:
/usr/lib/dracut/modules.d/95cifs
/
usr
lib
dracut
modules.d
95cifs
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
cifs-lib.sh
1.1 MB
chmod
View
DL
Edit
Rename
Delete
cifsroot.sh
651 B
chmod
View
DL
Edit
Rename
Delete
module-setup.sh
1.4 MB
chmod
View
DL
Edit
Rename
Delete
parse-cifsroot.sh
1.25 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /usr/lib/dracut/modules.d/95cifs/cifsroot.sh
#!/usr/bin/sh type getarg > /dev/null 2>&1 || . /lib/dracut-lib.sh . /lib/cifs-lib.sh [ "$#" = 3 ] || exit 1 # root is in the form root=cifs://user:pass@[server]/[folder] either from # cmdline or dhcp root-path #netif="$1" root="$2" NEWROOT="$3" cifs_to_var "$root" # shellcheck disable=SC2154 mount.cifs "//$server/$path" "$NEWROOT" -o "$options" && { [ -e /dev/root ] || ln -s null /dev/root; } # inject new exit_if_exists # shellcheck disable=SC2016 # shellcheck disable=SC2154 echo 'settle_exit_if_exists="--exit-if-exists=/dev/root"; rm -f -- "$job"' > "$hookdir"/initqueue/cifs.sh # force udevsettle to break : > "$hookdir"/initqueue/work
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply