Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions files/etc/uci-defaults/99-nethsec-update-profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# Copyright (C) 2026 Nethesis S.r.l.
# SPDX-License-Identifier: GPL-2.0-only
#

# Since OpenWRT sets profile directory and file as config files, they are not replaced upon update.
# This script updates the /rom/etc/profile, then hush the /etc/profile.d/apk-cheatsheet.sh

if [ -f /rom/etc/profile ]; then
cp /rom/etc/profile /etc/profile
fi

touch /etc/profile.d/apk-cheatsheet.hush
Loading