Commit c944cb9 1 parent e1f39fa commit c944cb9 Copy full SHA for c944cb9
File tree 6 files changed +14
-6
lines changed
falter-berlin-autoupdate/files
falter-berlin-ssid-changer/files
6 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 34
34
35
35
define Package/falter-berlin-admin-keys/postinst
36
36
# !/bin/sh
37
- $${IPKG_INSTROOT}/tmp/falter-berlin-admin-keys/register_keys.sh
37
+ if [ -z $${IPKG_INSTROOT} ] ; then
38
+ /tmp/falter-berlin-admin-keys/register_keys.sh
39
+ fi
38
40
endef
39
41
40
42
$(eval $(call BuildPackage,falter-berlin-admin-keys))
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ KEY_FILES=$(find "$SCRIPTPATH" -name "*.pub")
7
7
8
8
for KEY_FILE in $KEY_FILES ; do
9
9
KEY=$( cat $KEY_FILE )
10
- if [ -z " $( grep " $KEY " $IPKG_INSTROOT /etc/dropbear/authorized_keys) " ]; then
11
- echo " $KEY " >> $IPKG_INSTROOT /etc/dropbear/authorized_keys
10
+ if [ -z " $( grep " $KEY " /etc/dropbear/authorized_keys) " ]; then
11
+ echo " $KEY " >> /etc/dropbear/authorized_keys
12
12
fi
13
13
done
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- #
2
+
3
+ [ -z $IPKG_INSTROOT ] || exit 0
3
4
4
5
# if autoupdate is not present in crontab, include it.
5
6
crontab -l | grep /usr/bin/autoupdate >> /dev/null
Original file line number Diff line number Diff line change 48
48
49
49
define Package/falter-berlin-bbbdigger/postinst
50
50
# !/bin/sh
51
- $${IPKG_INSTROOT}/tmp/falter-berlin-bbbdigger_postinst.sh
51
+ if [ -z $${IPKG_INSTROOT} ] ; then
52
+ /tmp/falter-berlin-bbbdigger_postinst.sh
53
+ fi
52
54
endef
53
55
54
56
$(eval $(call BuildPackage,falter-berlin-bbbdigger))
Original file line number Diff line number Diff line change 8
8
#
9
9
# All other config sections are overwritten with current settings
10
10
11
+ [ -z $IPKG_INSTROOT ] || exit 0
12
+
11
13
. /lib/functions.sh
12
14
13
15
TUNNEL_SRV=' _bbb-vpn._udp.berlin.freifunk.net'
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- #
2
+
3
+ [ -z $IPKG_INSTROOT ] || exit 0
3
4
4
5
# if ssid-changer is not present in crontab, include it.
5
6
crontab -l | grep ssid-changer >> /dev/null
You can’t perform that action at this time.
0 commit comments