mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
[x86] hyperv-daemons: Use pid file name in init script status operation
While we're here, also drop the unnecessary commands to replicate the exit code.
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -17,6 +17,7 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
|
||||
TRANSPARENT_HUGEPAGE_MADVISE
|
||||
* ALSA: Enable SND_OSSEMUL, a new dependency of SND_{MIXER,PCM}_OSS
|
||||
* [armel] rtc: Disable RTC_NVMEM
|
||||
* [x86] hyperv-daemons: Use pid file name in init script status operation
|
||||
|
||||
[ Uwe Kleine-König ]
|
||||
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin
|
||||
|
||||
2
debian/hyperv-daemons.hv-fcopy-daemon.init
vendored
2
debian/hyperv-daemons.hv-fcopy-daemon.init
vendored
@@ -81,7 +81,7 @@ case "$1" in
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME"
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
|
||||
2
debian/hyperv-daemons.hv-kvp-daemon.init
vendored
2
debian/hyperv-daemons.hv-kvp-daemon.init
vendored
@@ -80,7 +80,7 @@ case "$1" in
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME"
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
|
||||
2
debian/hyperv-daemons.hv-vss-daemon.init
vendored
2
debian/hyperv-daemons.hv-vss-daemon.init
vendored
@@ -80,7 +80,7 @@ case "$1" in
|
||||
esac
|
||||
;;
|
||||
status)
|
||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
||||
status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME"
|
||||
;;
|
||||
restart|force-reload)
|
||||
log_daemon_msg "Restarting $DESC" "$NAME"
|
||||
|
||||
Reference in New Issue
Block a user