🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-14 10:17:52 | PHP 8.1.34
📂
/ (Root)
/
usr
/
lib
/
dracut
/
modules.d
/
95cifs
📍 /usr/lib/dracut/modules.d/95cifs
🔄 Refresh
✏️
Editing: cifsroot.sh
Read Only
#!/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
💾 Save Changes
❌ Cancel