File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
22
33PKG_NAME: =usb-config-scripts
44PKG_VERSION: =0.1.1
5- PKG_RELEASE: =4
5+ PKG_RELEASE: =5
66
77PKG_BUILD_DIR: =$(BUILD_DIR ) /usb-config-scripts-$(PKG_VERSION )
88PKG_SOURCE: =$(PKG_VERSION ) .tar.gz
4343define Package/usb-config-scripts-librarybox/postinst
4444 # !/bin/sh
4545 echo "Linking used modules"
46- ln -s /opt/autocfg/ modules.available/*openwrt* /opt/autocfg/modules.enabled
47- ln -s /opt/autocfg/ modules.available/*librarybox* /opt/autocfg/modules.enabled
48- ln -s /opt/autocfg/ modules.available/50_piratebox_hostname.sh /opt/autocfg/modules.enabled
46+ ln -s ../ modules.available/*openwrt* $$PKG_ROOT /opt/autocfg/modules.enabled
47+ ln -s ../ modules.available/*librarybox* $$PKG_ROOT /opt/autocfg/modules.enabled
48+ ln -s ../ modules.available/50_piratebox_hostname.sh $$PKG_ROOT /opt/autocfg/modules.enabled
4949endef
5050
5151define Build/Compile
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ start() {
1212 $work_folder /bin/auto_config.sh >> /mnt/usb/apply_config.log
1313 local change_rc=$?
1414
15- if [ " $change_rc " == " 0" ] ; then
15+ if [ " $change_rc " == " 0" ] ; then
1616 echo " Changes by auto-config" >> /mnt/usb/apply_config.log
1717 echo " Initiates reboot" >> /mnt/usb/apply_config.log
1818 reboot
@@ -28,4 +28,5 @@ reset () {
2828}
2929
3030stop () {
31+ echo " "
3132}
You can’t perform that action at this time.
0 commit comments