Skip to content
Snippets Groups Projects
Commit 6c952a51 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Add gluon-lock-password package and make config mode depend on it

parent 1be0a766
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ define Package/gluon-config-mode
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Luci based config mode for user friendly setup of new meshnodes
DEPENDS:=+gluon-core +gluon-location +gluon-simple-tc +uhttpd +dnsmasq +luci-mod-admin-core +ip +luci-theme-openwrt +haveged
DEPENDS:=+gluon-core +gluon-lock-password +gluon-location +gluon-simple-tc +uhttpd +dnsmasq +luci-mod-admin-core +ip +luci-theme-openwrt +haveged
endef
define Package/gluon-config-mode/description
......
include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-lock-password
PKG_VERSION:=1
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/gluon-lock-password
SECTION:=gluon
CATEGORY:=Gluon
TITLE:=Locks the root account by default
DEPENDS:=+gluon-core
endef
define Package/gluon-lock-password/description
This packages locks the root account by default.
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/gluon-lock-password/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,gluon-lock-password))
#!/bin/sh
passwd -l root
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment