Browse Source

nut: fix typo in nutshutdown script

Even it's only cosmetic and should not affect the function of regular system,
fix the name of the IPKG_INSTROOT variable.
Typo was added long ago with 8400c9a6ec.

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
lilik-openwrt-22.03
Sven Roederer 4 years ago
committed by Rosen Penev
parent
commit
f25f49a8b7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      net/nut/Makefile
  2. +1
    -1
      net/nut/files/nutshutdown

+ 1
- 1
net/nut/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nut PKG_NAME:=nut
PKG_VERSION:=2.7.4 PKG_VERSION:=2.7.4
PKG_RELEASE:=21
PKG_RELEASE:=22
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/ PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.7/


+ 1
- 1
net/nut/files/nutshutdown View File

@ -24,7 +24,7 @@ do_fsd() {
mount -o remount,ro /overlay /overlay mount -o remount,ro /overlay /overlay
mount -o remount,ro / / mount -o remount,ro / /
. ${IPKG_INSTOOT}/lib/functions.sh
. ${IPKG_INSTROOT}/lib/functions.sh
if [ -f /etc/config/nut_server ]; then if [ -f /etc/config/nut_server ]; then
config_load nut_server config_load nut_server


Loading…
Cancel
Save