base-files: remove outdated service wrapper in profile

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-03-22 01:28:30 +08:00
parent b0af5f9db9
commit c3ab6a927a
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -51,12 +51,3 @@ in order to prevent unauthorized SSH logins.
--------------------------------------------------
EOF
fi
service() {
[ -f "/etc/init.d/$1" ] || {
echo "service "'"'"$1"'"'" not found, the following services are available:"
ls "/etc/init.d"
return 1
}
/etc/init.d/$@
}