aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-08-12 00:58:41 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-08-12 00:58:41 +0000
commit7552e27dfbf928fe1b743d6684096c78a1cdeacf (patch)
tree42a0684dc767b24af319631a81f9ce91290867e7 /package
parentdd91e3763a0413beffa226f36b278ca61e0a95c2 (diff)
downloadupstream-7552e27dfbf928fe1b743d6684096c78a1cdeacf.tar.gz
upstream-7552e27dfbf928fe1b743d6684096c78a1cdeacf.tar.bz2
upstream-7552e27dfbf928fe1b743d6684096c78a1cdeacf.zip
base-files: buttons: make power script return 0
It was missed in the r46471. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r46582 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46583 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/rc.button/power2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/rc.button/power b/package/base-files/files/etc/rc.button/power
index 0cb74b9f29..c245744172 100755
--- a/package/base-files/files/etc/rc.button/power
+++ b/package/base-files/files/etc/rc.button/power
@@ -3,3 +3,5 @@
[ "${ACTION}" = "released" ] || exit 0
exec /sbin/poweroff
+
+return 0