Skip to content

Commit

Permalink
update install scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
karimra committed Nov 13, 2023
1 parent 97c38c5 commit efd7a83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/postinstall.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

appmgr=$(sr_linux --status | grep app_mgr | cut -d: -f 2 | tr -s ' ')
appmgr=$(/opt/srlinux/bin/sr_linux --status | grep app_mgr | cut -d: -f 2 | tr -s ' ')

if [[ $appmgr != "not running" ]]
then
sr_cli tools system app-management application app_mgr reload
/opt/srlinux/bin/sr_cli tools system app-management application app_mgr reload
fi
4 changes: 2 additions & 2 deletions scripts/postremove.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

appmgr=$(sr_linux --status | grep app_mgr | cut -d: -f 2 | tr -s ' ')
appmgr=$(/opt/srlinux/bin/sr_linux --status | grep app_mgr | cut -d: -f 2 | tr -s ' ')

if [[ $appmgr != "not running" ]]
then
sr_cli tools system app-management application app_mgr reload
/opt/srlinux/bin/sr_cli tools system app-management application app_mgr reload
fi

0 comments on commit efd7a83

Please sign in to comment.