You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Roman Yeryomin
0b1fa809d0
base-files: rc.common: fix enable() return code and logic
...
In current state, if there is START but no STOP, enbale()
will return 1 (failure), which is wrong.
Moreover there is no need to check for START/STOP twice.
Instead, add err variable to save success state and
and return it's value.
Also eliminate the need to disable() by using 'ln -sf',
which will first delete the old symlink if one exists.
Changes from v1:
- fixed description
Signed-off-by: Roman Yeryomin <roman@advem.lv>
7 years ago
..
board.d
base-files: remove default /etc/config/network, generate it via board.d instead
9 years ago
hotplug.d/ net
sysctl: read settings from /etc/sysctl.d/*.conf
9 years ago
init.d
merge: base: update base-files and basic config
7 years ago
iproute2
base-files: add /etc/iproute2/rt_protos
8 years ago
rc.button
base-files: Ensure reset only works if an overlay exists
8 years ago
sysctl.d
sysctl: read settings from /etc/sysctl.d/*.conf
9 years ago
uci-defaults
base-files: fix user creation on sysupgrade with few opkg control files
8 years ago
banner
merge: release/banner: drop release name and update banner
7 years ago
banner.failsafe
failsafe-mode: print short help on commandline
10 years ago
device_info
base-files: add URL option for OEM manufacturer info
9 years ago
diag.sh
base-files: make diag.sh stub working in bash
15 years ago
fstab
base-files: remove fstab symlink
8 years ago
group
base-files: add "tty" user group
7 years ago
hosts
base-files: add /etc/hosts entries for ::1, ff02::1 and ff02::2
9 years ago
inittab
image / basefiles: make console password configurable
8 years ago
openwrt_release
merge: properly remove %n / %N references
7 years ago
openwrt_version
build: adjust version number handling
8 years ago
os-release
base-files: Add standard os-release file
8 years ago
passwd
base-files: prime root password with "x" to notify programs that there is a shadow record, fix /bin/login.sh password detection accordingly. Solves broken key based dropbear login with empty password after r28935.
13 years ago
preinit
preinit: use only the image config options
8 years ago
profile
base-files: fix logic when to show failsafe banner
7 years ago
protocols
base-files: add DCCP to /etc/protocols
9 years ago
rc.common
base-files: rc.common: fix enable() return code and logic
7 years ago
rc.local
base-files: introduce a ready-to-use /etc/rc.local to let users run custom commands on init without creating custom init scripts
15 years ago
services
base-files: add submission service port
7 years ago
shadow
the root password should be empty for real, like before
11 years ago
shells
rename default/ to files/
18 years ago
sysctl.conf
basefiles: allow suid coredumps
7 years ago
sysupgrade.conf
base-files: - add sysupgrade support for keepfile hints * introduces /lib/upgrade/keep.d/ for per-package keepfile lists * introduces /etc/sysupgrade.conf for user defined keepfile hints - prime /lib/upgrade/keep.d/base-files-essential to keep sysupgrade usable for images without opkg - change sysupgrade to build the keepfile list from /lib/upgrade/keep.d/, /etc/sysupgrade.conf and opkg list-changed-conffiles
14 years ago