diff --git a/configs/rpi-4-files/etc/uci-defaults/90-profile-aliases b/configs/rpi-4-files/etc/uci-defaults/90-profile-aliases new file mode 100644 index 0000000..0bf1c05 --- /dev/null +++ b/configs/rpi-4-files/etc/uci-defaults/90-profile-aliases @@ -0,0 +1,9 @@ +#!/bin/sh + +# add some commonly used aliases +file=/etc/profile +grep -q "alias l" ${file} || + cat <> ${file} +alias l='ls -lF' +alias la='ls -alF' +EOF diff --git a/configs/rpi-4-files/etc/uci-defaults/99-custom b/configs/rpi-4-files/etc/uci-defaults/99-custom index 01d48cf..0d8be2c 100644 --- a/configs/rpi-4-files/etc/uci-defaults/99-custom +++ b/configs/rpi-4-files/etc/uci-defaults/99-custom @@ -1,10 +1,11 @@ #!/bin/sh # Read all about UCI defaults at -# https://openwrt.org/docs/guide-developer/uci-defaults) +# https://openwrt.org/docs/guide-developer/uci-defaults # Note that scripts in /etc/uci-defaults will get executed at *every* first # boot (i.e. after both factory install as well as upgrades), # possibly overwriting already existing values! +# scripts in this dir should *not* be executable exit 0